2

Hello after I got an db error.. I try to reindex my db. But I got this error:

ERROR: ReadBlockFromDisk: Errors in block header at FlatFilePos(nFile=75, nPos=117947311)

So what can I do to fix it ?

System: 4 cores 2 GB RAM 500GB ISCI Storage

  • 1
    The db error was that: throwbitcoins.blogspot.com/2018/11/… Also no idea to fix it ;) – Pixxelcrasher Aug 6 at 14:33
  • I think this is an error caused a file blk corrupt, try to resincronize the bircoin core – vincenzopalazzo Aug 6 at 18:33
  • Now I got these: 2019-08-07T05:26:28Z ERROR: ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize(): size too large: iostream error at FlatFilePos(nFile=68, nPos=64215124) 2019-08-07T05:26:28Z *** Failed to read block 2019-08-07T05:26:28Z Error: A fatal internal error occurred, see debug.log for details 2019-08-07T05:26:28Z Failed to connect best block (Failed to read block (code 0)) Please Help – Pixxelcrasher Aug 7 at 5:32
  • The error persists, This line ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize() confirmed my thesis on the persistent file corrupt. Try to resynchronize directory with another location. Your file blk are downloaded with bitcoin core node or you downloaded it with another mode (an example torrent) – vincenzopalazzo Aug 7 at 8:02
0

Your blockchain is corrupted. In Bitcoin Core's datadir, go to the blocks folder. Delete the file named blk0075.dat and ever blk*.dat file with a higher number. Also delete rev0075.dat and every rev*.dat file with a higher number. Start Bitcoin Core, it will need to reindex. At this point, it should begin building the block databases, and it will then download the blocks that you deleted once it gets to that point.

  • If he deletes block files corresponding to already active blocks, he'll need a reindex from scratch anyway. – Pieter Wuille Aug 9 at 2:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.