Bitcoin Forum
December 09, 2016, 11:39:27 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Recovering wallet  (Read 1059 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 ?





1481283567
Hero Member
*
Offline Offline

Posts: 1481283567

View Profile Personal Message (Offline)

Ignore
1481283567
Reply with quote  #2

1481283567
Report to moderator
Make sure you back up your wallet regularly! With Bitcoin-Qt, it needs to be backed up at least as often as every 100 transactions (both sends and receipts) or new addresses.
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: 2002



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: 1036


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!