Author

Topic: Currupted block database detected error (Read 219 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
October 26, 2018, 01:33:13 PM
#4
You are using versions of Bitcoin Core and Litecoin Core that are vulnerable to CVE-2018-17144. Any block that exploits this vulnerability will have the side effect of causing block database corruption when the block is being reorged out of the blockchain. Furthermore, testnet is known to have blocks exploiting this vulnerability, and because you are using vulnerable versions, you are likely running into these invalid blocks which is causing your error.

If you upgrade to the latest versions of Bitcoin Core and Litecoin Core, do you still see the same problem?
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
October 26, 2018, 12:35:51 PM
#3
Try deleting the last blk file in the blocks folder and then reminded the database a lot of the time this error gets caused by the last block being corrupted and the node compromising itself because of that.

If that fails, do as tryninja said and switch out the drive.
legendary
Activity: 1624
Merit: 2481
October 26, 2018, 12:13:14 PM
#2
Well.. something is happening which corrupts the blockchain.

Where do you have the blockchain stored ? If it's an external hard drive, this might cause the issue.
Core needs a continuous connection to the hard drive. That's not that easy to achieve with an external USB drive. 


What OS are you using ? And what drive do you use to store the data (SSD / HD / external / ... ) ?
newbie
Activity: 1
Merit: 1
October 26, 2018, 11:44:59 AM
#1
Hello everyone !
I've had the follow issue:
on one machine I've launced Bitcoin Core v0.16.0 and Litecoin Core v0.16.0.
Each application work in separate datadir also each application have setted callback call for event walletnotify . For now I use both application with testnets.
Recently, there have been frequent cases when these applications stop sending transactions, when restarting, an error occurs:
"Corrupted block database detected. Do you whant to rebuild the block database now ?".
It happens on both apps Bitcoin Core and Litecoin Core, after rebuild applications continue to work, but after a while it happens again

Please help me, what I doing wrong?
Thank you for any advice

Jump to: