Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: maxmint on March 16, 2013, 02:55:35 PM



Title: Did wallet.dat files change over time?
Post by: maxmint on March 16, 2013, 02:55:35 PM
I have an old wallet.dat from 2011 and tried to open it with my current 0.8 bitcoin-qt client. I did not get any errors, but the wallet does not contain any transcation or addresses. I'm pretty sure there must be some in this wallet file.

Could it be that the wallet.dat file change over time so that the current client is unable to read it?


Title: Re: Did wallet.dat files change over time?
Post by: vm1990 on March 16, 2013, 05:01:35 PM
as far as i know the wallet.dat file hasnt changed at all it only changes if you add new addresses
are you copying it to the right place? C:\users\your username\appdata\roaming\bitcoin
also i think it only works if theres 1 wallet.dat file there


Title: Re: Did wallet.dat files change over time?
Post by: maxmint on March 16, 2013, 06:30:59 PM
as far as i know the wallet.dat file hasnt changed at all it only changes if you add new addresses
are you copying it to the right place? C:\users\your username\appdata\roaming\bitcoin
also i think it only works if theres 1 wallet.dat file there

Thanks for the tip. I just checked and it's definitely at the right location.
Maybe I backed up an empty wallet without any transactions...


Title: Re: Did wallet.dat files change over time?
Post by: BookLover on March 17, 2013, 12:42:55 AM
Try running it with the "rescan" option.


Title: Re: Did wallet.dat files change over time?
Post by: opticbit on March 17, 2013, 12:45:46 AM
take a look at the wallet in plain text.


Title: Re: Did wallet.dat files change over time?
Post by: Raoul Duke on March 17, 2013, 01:07:50 AM
Go to the folder where your wallet.dat is and insert
Code:
rescan=1

in the bitcoin.conf file that is inside that same folder. If there is no file named bitcoin.conf, create one yourself

Start bitcoin-qt as you usually do and wait for it to do it's thing.

If you get your bitcoins back, you can donate some to me at: 1PKyq6aMKcCwn8cmb9Jc5SkNydLsQb5n7K

Don't forget to remove the rescan=1 line from the bitcoin.conf file when you finish.


Title: Re: Did wallet.dat files change over time?
Post by: Stephen Gornick on March 17, 2013, 02:28:25 PM
Could it be that the wallet.dat file change over time so that the current client is unable to read it?

The newer clients (v0.7 and higher) are less ignorant of bad data in the wallet.dat.     Are you getting a message unable to open wallet.dat?

You could try joric's pywallet and see if it can get more out of it than Bitcoin-Qt can.