Assertion failed or Corrupted wallet?

in #gridcoin7 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.

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 75897.42
ETH 2690.17
USDT 1.00
SBD 2.44