Author

Topic: [FIXED] PPcoin wallet error - Thanks Sunny King (Read 1360 times)

sr. member
Activity: 364
Merit: 252
monkeys wallet_tool.pl may not be fast at importing private keys when you are on a 2.5" ide disk and importing over 2000 but it does the job Smiley
~2 days later and it just started importing privkey number 2000 then.

When the GUI can update Im catching glimpses of the balance, currently it shows a positive balance which is slowly but steadily increasing Smiley

Thanks so much for your help Sunny, the version of pywallet you provided did a perfect job of dumping the private keys while the wallet was offline, something wallet_tool.pl is not able to do.
sr. member
Activity: 364
Merit: 252
the offline dump of my corrupted wallet.dat appears to have worked. 

Im importing all the keys now using a modified version of monkeys wallet_tool.pl which he hacked up to parse the json output of pywallet Cheesy
So handy having a script monkey on standby, manually importing all these keys would be an nightmare Tongue
sr. member
Activity: 364
Merit: 252
My original test/mining pc was a windows 7 64 bit install, now I use a windows XP 32bit machine for testing.

Trying pywallet again now, thanks Sunny.
newbie
Activity: 12
Merit: 0
are you on a 32bit vs 64bit computer?
legendary
Activity: 1205
Merit: 1010
Try this modified pywallet to dump out the keys from your wallet backup.

https://github.com/ppcoin/pywallet

Usage:
python pywallet.py --dumpwallet --datadir= [--password=]
sr. member
Activity: 364
Merit: 252
First make sure you didn't use a wallet from another altcoin.

Next try redownload block chain with the backup wallet. Remove all files and subdirectories in ppcoin data directory except for the wallet file and ppcoin.conf, and restart ppcoin. Try older backup wallet if this fails as well.

Wallet files are supported through all the old versions. Even if it was from v0.1 there is no change in wallet format.

If there is really a serious corruption with the wallet file, it most likely can still dump out the keys using external tools. But before we get to that please first try the above.

Done and Done but to no avail.

Is there a tool to extract the priv keys directly from the wallet.dat without ppcoind running ?

Thanks for your help Sunny Smiley

We also have an older backup of the wallet, this one does not crash ppcoin-qt but it shows 10'000 tx's and a 0 balance.
So this is our fall back if we cannot extract the priv keys from the latest wallet. I will extract the priv keys from this wallet, reimport to a new wallet and retry.
legendary
Activity: 1205
Merit: 1010
First make sure you didn't use a wallet from another altcoin.

Next try redownload block chain with the backup wallet. Remove all files and subdirectories in ppcoin data directory except for the wallet file and ppcoin.conf, and restart ppcoin. Try older backup wallet if this fails as well.

Wallet files are supported through all the old versions. Even if it was from v0.1 there is no change in wallet format.

If there is really a serious corruption with the wallet file, it most likely can still dump out the keys using external tools. But before we get to that please first try the above.
sr. member
Activity: 364
Merit: 252


I recently tried to migrate a wallet from cold storage to a fresh install after downloading the blockchain.
Unfortunately this error now pops up, I have pm'ed Sunny King for advice, just posting here for future reference in case anyone else experiences the same issue.

I have tried the -rescan option but same error, I have also tried deleting the directory, creating an empty %appdata%/ppcoin and copying in the wallet.dat same error Sad
 
Jump to: