Bitcoin Forum
May 14, 2024, 01:53:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Do you have to Backup your Wallet.dat after each new address?  (Read 800 times)
BitcoinBarrel (OP)
Legendary
*
Offline Offline

Activity: 1961
Merit: 1020


Fill Your Barrel with Bitcoins!


View Profile WWW
June 13, 2013, 06:46:14 PM
 #1

I have read a few stories of people backing up their wallets and later after trying to restore the wallet.dat find only address up until the point the backup was produced. Has this been changed in the new released of Bitcoin-qt or is this still an issue?



        ▄▄▄▄▄▄▄▄▄▄
     ▄██████████████▄
   ▄█████████████████▌
  ▐███████████████████▌
 ▄█████████████████████▄
 ███████████████████████
▐███████████████████████
▐███████████████████████
▐███████████████████████
▐███████████████████████
 ██████████████████████▀
 ▀████████████████████▀
  ▀██████████████████
    ▀▀████████████▀▀
.
.....
.....
.....
.....
.....
.....





1715694838
Hero Member
*
Offline Offline

Posts: 1715694838

View Profile Personal Message (Offline)

Ignore
1715694838
Reply with quote  #2

1715694838
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715694838
Hero Member
*
Offline Offline

Posts: 1715694838

View Profile Personal Message (Offline)

Ignore
1715694838
Reply with quote  #2

1715694838
Report to moderator
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
June 13, 2013, 08:28:00 PM
 #2

There is a config file value that changes the size of the keypool.  The default is 100 keys, and has been for a long time, but can be changed easily.

If you back up your wallet, the backup copy has the next 100 (or whatever) keys that your node will use.

Note that this may cause branching issues.  For example, if you save your wallet at time A, then use some keys, then save your wallet at time B, then restore back to A, you will have lost some keys that were in B, but weren't in A.  Of course, you will never have seen those keys unless you went poking around in the file, so losing them isn't a big deal.  And if you are poking around inside the wallet using something other than the bitcoin client, we hope that you understand what you are doing well enough to avoid losing keys.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
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!