Post
Topic
Board Development & Technical Discussion
Re: Pywallet 2.2: manage your wallet [Update required]
by
ice2097
on 17/06/2017, 15:15:54 UTC
I'm trying to recover an old bitcoin wallet.dat from ~2011 or so. I tried loading it with the current bitcoin-qt, and just get a "wallet.dat corrupt, salvage failed" error.
I didn't think I had a passphrase on my wallet, but I'm not positive.

I'm trying to use pywallet to get something usable out of the file, but I'm having some trouble and would really appreciate any help anyone here can provide.

I have the wallet.dat file in the same directory as pywallet.py
If I try to dump the wallet, I get:

ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.

If I try to recover, I get:

$ ./pywallet.py --recover --recov_size 30.1Gio --recov_device ./wallet.dat --recov_outputdir ./rec2/
Enter the passphrase for the wallet that will contain all the recovered keys: q

Enter the possible passphrases used in your deleted wallets.
Don't forget that more passphrases = more time to test the possibilities.
Write one passphrase per line and end with an empty line.
Possible passphrase:

Starting recovery.

Read 0.0 Go in 0.0 minutes

Found 0 possible wallets
Found 0 possible encrypted keys
Found 141 possible unencrypted keys
Segmentation fault: 11


at which point python crashes....
I'm not really clear on if these 141 keys should be useful or not... also I have no idea what the recov_size variable means, so this could be incorrect.

I'm not really sure where to go from here... any suggestions would be highly appreciated!