Hey guys, after a long wait, Peercoin v0.6 is finally here. This is the first release from Peercoin’s new team, which marks the transition away from Peercoin being developed solely by its founder Sunny King. This upgrade will require a full blockchain redownload due to the move to the leveldb database.
Installation instructions and a summary of what has changed in this version are provided in the following Medium article. Peerunity is no longer being supported, and the article below explains the upgrade process…
You can post in this thread in case you have questions or bugs to report. Please help retweet this news for us here…
First of all, make sure to have backups of your wallet.dat file!
My client crashes on initial blockchain download.
The following error is shown in debug.log: ERROR: mempool transaction missing input
This is a known issue caused by syncing with a not-encrypted wallet.dat file.
There are multiple options to avoid this:
Run the initial blockchain download without wallet.dat file (move it outside the datadir)
After full download, stop the client, copy your wallet.dat back in place and restart.
Run the initial download with minting disabled (v0.6.1 feature)
add nominting=1 to your peercoin.conf file or use the -nominting commandline parameter.
To turn it back on after full download, remove the option and restart the client.
My client fully synced but my balances are wrong
This can happen due to inconsistencies between the wallet.dat file and the block DB.
Since v0.6.1 the zapwallettxes feature has been backported from bitcoin. This option clears your wallet.dat file except for the private keys and fully rescans the chain for wallet transactions to compute your balance.
Start your client with zapwallettxes=1 in peercoin.conf or with -zapwallettxes on the commandline. Make sure to remove the option after startup otherwise it’ll repeat the process every time you start the client, it doesn’t hurt but it takes a while.
Note: You don’t need to re-download the blockchain for this.
Ultimate recovery, in case none of the above helps
Open your wallet.dat with the client that is able to open it and read the addresses stored in it (it doesn’t matter if balances are displayed correctly)
In the debug window or RPC console, export all the private keys for every address that contains coins using: dumpprivkey <your_address>
Store these keys safely, anyone with access to those can spend your coins.
Start the latest peercoin client without wallet.dat file, it will create an empty one.
When fully synced, import your private keys one by one in the debug window or RPC console using: importprivkey <your_private_key>
It was brought up on Bitcointalk that someone saw v0.4.0ppc-2108-gbcd7712 (V0.4.0) under About Peercoin. This is a known issue and the developers have said it will be fixed properly in a post release, v0.6.1.
If your blockchain is now fully synced then it doesn’t matter anymore. The reason I believe hrobeers was asking you to use an empty wallet is because an empty wallet has no possibility of minting a block. As long as your wallet was not trying to mint while syncing, there should be no issue. However if your chain is fully synced then there is no way to test it unless you delete and redownload again.
Also, just in case you didn’t know, if you have a wallet with peercoins in it and it is unencrypted, then minting starts automatically. If the wallet is encrypted though, then it will not mint automatically and the only way is to hit “unlock wallet for minting only.”
Thanks, my wallet was encrypted and had peercoins in it. I did manually unlock it for minting during the blockchain sync which seems to cause the crashes so that is consistent with the findings from the dev team above. I’m happy to delete and re-test if that helps anyone, not a problem