Delete and Resync a Crypto-Wallet on your server

I stake a Cryptocurrency based of Peercoin on a Server since years. Multiple months ago this stopped because of the following error:

Coind: kernel.cpp:372: unsigned int GetStakeModifierChecksum(const CBlockIndex*): Assertion `pindex->pprev || pindex->GetBlockHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.

This Error often comes when your Blockchain is corrupted. The cause of my problem was an unexpected downtime.

To fix this:

  1. Stop the Daemon
  2. Backup the Folder of the Coin
  3. Delete everything except wallet.dat, peers.dat and *.conf
  4. Start the Daemon again (/path/to/coin/src/Coind -daemon -datadir=/path/to/coin/folder/)

I also published a German blog post about compiling AltCoins.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store