Bitcoin Forum

Other => Beginners & Help => Topic started by: Mugabuga on July 12, 2012, 09:24:26 PM



Title: Cannot restore wallet
Post by: Mugabuga on July 12, 2012, 09:24:26 PM
I have a really old wallet.dat file that I'm trying to restore, and whenever I put it in the data folder, bitcoin fails to start and gives me this error:
https://i.imgur.com/kc0WP.png


Title: Re: Cannot restore wallet
Post by: rxw on July 13, 2012, 02:49:02 AM
Maybe try using an older version of bitcoin? they should all be backwards compatible, but give it a shot anyways. As a last resort you should be able to extract the priv keys from that file and put them in a newly created wallet.dat


Title: Re: Cannot restore wallet
Post by: anu on July 13, 2012, 02:40:25 PM
Maybe try using an older version of bitcoin? they should all be backwards compatible, but give it a shot anyways. As a last resort you should be able to extract the priv keys from that file and put them in a newly created wallet.dat

If this doesn't help you can try Gavin's Bitcoin Tools:
https://github.com/gavinandresen/bitcointools
to extract the keys.


Title: Re: Cannot restore wallet
Post by: exotime on July 17, 2012, 06:05:57 PM
Do you have any other copies of the wallet file you can compare it with, to ensure your "really old copy" is still bit-for-bit accurate?


Title: Re: Cannot restore wallet
Post by: VelvetLeaf on July 18, 2012, 12:33:39 AM
Export your private key to the new wallet with PyWallet or dumpprivkey/importprivkey pair API