Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: crippercrispy on January 14, 2021, 02:27:41 PM



Title: BitCoin Core wont sync
Post by: crippercrispy on January 14, 2021, 02:27:41 PM
The debug file says this

21-01-14T13:01:02Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) started
2021-01-14T13:01:02Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\DrCool\AppData\Roaming\Bitcoin\chainstate/021359.ldb
2021-01-14T13:01:02Z You can use -debug=leveldb to get more complete diagnostic messages
2021-01-14T13:01:02Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) completed (0.00s)
2021-01-14T13:01:02Z *** System error while flushing: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\DrCool\AppData\Roaming\Bitcoin\chainstate/021359.ldb
2021-01-14T13:01:02Z Error: A fatal internal error occurred, see debug.log for details
2021-01-14T13:01:02Z ForceFlushStateToDisk: failed to flush state (System error while flushing: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\DrCool\AppData\Roaming\Bitcoin\chainstate/021359.ldb)
2021-01-14T13:01:02Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) started
2021-01-14T13:01:02Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\DrCool\AppData\Roaming\Bitcoin\chainstate/021359.ldb
2021-01-14T13:01:02Z You can use -debug=leveldb to get more complete diagnostic messages
2021-01-14T13:01:02Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) completed (0.00s)
2021-01-14T13:01:02Z *** System error while flushing: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\DrCool\AppData\Roaming\Bitcoin\chainstate/021359.ldb
2021-01-14T13:01:02Z Error: A fatal internal error occurred, see debug.log for details
2021-01-14T13:01:02Z ForceFlushStateToDisk: failed to flush state (System error while flushing: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\DrCool\AppData\Roaming\Bitcoin\chainstate/021359.ldb)

When i try and load into it, it says fatal error has occurred.


Title: Re: BitCoin Core wont sync
Post by: bob123 on January 14, 2021, 04:52:55 PM
2021-01-14T13:01:02Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\DrCool\AppData\Roaming\Bitcoin\chainstate/021359.ldb

You got some corrupted data.
Did you kill the process? Or is your hard drive very old? External hard drive?


Try reindexing by using the -reindex parameter when starting bitcoin core.
If the errors keeps coming, you might want to check/replace your hard drive.



Title: Re: BitCoin Core wont sync
Post by: ranochigo on January 14, 2021, 06:05:48 PM
Either reindex or if you prefer, you can try to reindex the chainstate instead. It will help you to avoid downloading the entire blocks over again (also avoiding the time consuming indexing of your blocks) and instead rebuilds your chainstate only.

You can use -reindex-chainstate when starting Bitcoin Core.