Bitcoin Forum
August 24, 2017, 10:57:13 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Recovering wallet  (Read 1114 times)
petermeuris
Newbie
*
Offline Offline

Activity: 14


View Profile
July 05, 2012, 09:06:58 PM
 #1

Hello all,

I have an encrypted wallet.dat backup from half a year ago, and want to recover its content.

1/ Downloaded bitcoin-0.6.3-linux
2/ Added the wallet.dat in  ~/.bitcoin
3/ Downloaded the blockchain.

However the sum of all the (ca 200) transactions is not equal to what I knew was the total amount in the wallet.

4/ I did a -rescan, but no change.
5/ I did not create extra addresses other than the default ones, to my knowledge.

Still I lost some coins ....

Any advice here ?





1503572233
Hero Member
*
Offline Offline

Posts: 1503572233

View Profile Personal Message (Offline)

Ignore
1503572233
Reply with quote  #2

1503572233
Report to moderator
1503572233
Hero Member
*
Offline Offline

Posts: 1503572233

View Profile Personal Message (Offline)

Ignore
1503572233
Reply with quote  #2

1503572233
Report to moderator
1503572233
Hero Member
*
Offline Offline

Posts: 1503572233

View Profile Personal Message (Offline)

Ignore
1503572233
Reply with quote  #2

1503572233
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
July 05, 2012, 09:35:51 PM
 #2

I have an encrypted wallet.dat backup from half a year ago, and want to recover its content.

How many total "spends" have occurred since the backup was made?

By default the wallet has a keypool of 100 keys.  These are 100 "future" keypairs.  Each "spend" (outgoing tx) uses 1 new key from the keypool for change.  Each time you request a new address for incoming tx uses a key.  If you used more than 100 keys since the backup was made then any tx past the first 100 are irrevocably lost.
petermeuris
Newbie
*
Offline Offline

Activity: 14


View Profile
July 06, 2012, 04:10:12 AM
 #3

After import some of the transactions show n/a as address. What does this mean ?
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2240



View Profile
July 06, 2012, 09:03:43 PM
 #4

After import some of the transactions show n/a as address. What does this mean ?

After "import"?  Do you mean after restoring the wallet.dat, or, are you actually importing -- i.e., trying to use pywallet or something to manually import the keys from the old wallet?

Also, you might try -upgradewallet, perhaps if there is a data corruption problem that the upgrade to the current format will resolve it?

But, make sure to not delete or overwrite your backup from six months ago, just in case.

Pieter Wuille
Legendary
*
Offline Offline

Activity: 1050


View Profile WWW
July 09, 2012, 12:20:00 PM
 #5

Also, you might try -upgradewallet, perhaps if there is a data corruption problem that the upgrade to the current format will resolve it?

No, that won't help. If there was a corruption, 0.6.3 would complain whether it was an old or a new wallet.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!