Bitcoin Forum
November 09, 2024, 01:05:49 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Automating bitcoind wallet backup based upon keypool size & usage  (Read 1863 times)
c0ldfusi0nz (OP)
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
March 25, 2013, 12:22:17 AM
 #1

It's my understanding that in order to ensure that your wallet backups will contain all your transactions, you should at a minimum back up your wallet every <keypool size> new addresses that you generate. Are there any best practices for how to achieve this other than keeping counters on your own that are triggered by your application logic at the same time you ask bitcoind for a new address?
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
March 25, 2013, 12:27:56 AM
 #2

IMO no

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
cheako
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
April 10, 2015, 05:08:02 AM
 #3

This seems rather important.

Can't the dump tell you how many keys are in the pool?

Will a restore of a dump(if using dumpwallet) populate the keypool, my experiments seem to suggest that the keypool will be rebuilt as if empty(if the new wallet is created with keypool=0)?

dumpwallet is chosen over backupwallet because it looks simpler to interrogate.
Amph
Legendary
*
Offline Offline

Activity: 3248
Merit: 1070



View Profile
April 10, 2015, 07:22:31 AM
 #4

usually you just need to see if your wallet size is increase, if it is true then you need a new backup, otherwise not

keypool size is about 100 btw(so after it reach you need a new back up you don't need to do it after every new address)

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!