test if the database has all inner hashes,

usefull during downloading (FileState = FILE_PART)