Bitcoin Forum
May 26, 2024, 10:04:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get private keys from wallet.dat - old wallet  (Read 1596 times)
chorchonga (OP)
Member
**
Offline Offline

Activity: 65
Merit: 10


View Profile
October 06, 2012, 02:30:01 AM
 #1

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.

Buy vinyl decals with Bitcoin: http://www.azurerocket.com
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
October 06, 2012, 05:30:36 AM
Last edit: October 06, 2012, 07:22:48 AM by Stephen Gornick
 #2

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

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Zeek_W
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile
October 06, 2012, 07:15:32 AM
 #3

Crap! time to check my old wallet and see if I can access it!

RaTTuS
Hero Member
*****
Offline Offline

Activity: 792
Merit: 1000


Bite me


View Profile
October 22, 2012, 03:49:03 PM
 #4

* RaTTuS slams head on desk ,
old cold wallet is Meh now...
looks like I'm in for a good ride ....

In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!