Bitcoin Forum
November 22, 2017, 05:32:14 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Automating bitcoind wallet backup based upon keypool size & usage  (Read 1784 times)
c0ldfusi0nz
Jr. Member
*
Offline Offline

Activity: 52


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?
1511371934
Hero Member
*
Offline Offline

Posts: 1511371934

View Profile Personal Message (Offline)

Ignore
1511371934
Reply with quote  #2

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

Activity: 1120


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


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



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:  

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!