Author

Topic: How to get private keys from wallet.dat - old wallet (Read 1609 times)

hero member
Activity: 792
Merit: 1000
Bite me
* RaTTuS slams head on desk ,
old cold wallet is Meh now...
looks like I'm in for a good ride ....
sr. member
Activity: 336
Merit: 250
Crap! time to check my old wallet and see if I can access it!
legendary
Activity: 2506
Merit: 1010
So, I first started mining over a year ago but I cannot get the QT Bitcoin wallet to launch when I swap out the new wallet for the old (pretty sure I know what I'm doing there).  It gives me a database error.

The debug.log will show the specific error, but if your blockchain was caught up and all you are doing is replacing the wallet.dat with an older one from a backup and the client won't restart after that then the problem is likely difficulty in accessing that wallet.

The newer clients perform more strict checking and a wallet.dat that was useable in a previous release can become unreadable with the most current release. [Clarificatoin: If it already had problems just that the old version was oblivious to them.]

Make sure that you keep another copy of the old wallet.dat intact and are only working with a copy of it.

What some people have tried is going back to an old version of the software (e.g., v0.5.x, or earlier even) and try accessing the wallet.dat with that.

You can also try using PyWallet or Gavin's BitcoinTools to access and export the keys:

 For linux,  ./dbdump.py --wallet

 - https://github.com/gavinandresen/bitcointools
member
Activity: 65
Merit: 10
So, I first started mining over a year ago but I cannot get the QT Bitcoin wallet to launch when I swap out the new wallet for the old (pretty sure I know what I'm doing there).  It gives me a database error.  Do I need to delete and re-download the blockchain?  If not, how do I extract the private keys from wallet.dat for import?  There is only a small amount of plaintext when I view in a notepad application.
Jump to: