Assertion failed or Corrupted wallet?

in gridcoin •  7 years ago  (edited)


Hello Grindsters!

Are you experiencing "Assertion failed" error message and, or a corrupted wallet, after your system hung, auto-restarted or crashed?

Like

Assertion failed!
Program: ...
File:scr/kernel.cpp
line:780
Expression:pindex->pprev||pindex->GetBlockHash()==(!fTestNet ? hashGenesisBlock:hashGenesisBlockTestNet)...

This particular error quoted above is caused by a corrupted database and the only solution is to re-download your blockchain but here is what I do to save data and time, since the auto-backup doesn't backup the blk0001.dat file.

I regularly backup the following files in my gridcoin research folder.

1 - blk0001.dat, 

2 - wallet.dat (mainly after creating a new address), 

3 - gridcoinresearch.conf 

4 - televeldb folder 


This is done after exiting a perfectly working session. 

Anytime I experience any major issue that require re-downloading the blockchain, I just restore those files. Please be sure that you are not backing-up a forked blockchain.


Good-luck.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Good tip 👍

Thank you