Bitcoin Forum
November 06, 2024, 07:36:29 AM *
News: Latest Bitcoin Core release: 28.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: 2023
Merit: 1034


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?



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





kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



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!