1

This question already has an answer here:

Reading about the "change" addresses and doing "wallet.dat" backups, I keep reading that -by default- bitcoin-qt generates 100 keys and use them when you need a new address. My question is this: what happens after you use all 100 keys (for change, mainly). bitcoin-qt generates another block of 100 keys?. Only one?.

The information is critical for backup policy, and I can't find it online.

If you get a new 100 keys block, doing regular frequent backups is mostly fine, but if only a new key is generated, you should backup the wallet after any incoming or outgoing transaction...

Better yet, bitcoin-qt should have a permanent pool of 100 addresses, and add a new random address when you use one, in a FIFO style. That way you should be quite safe if you do less than 100 outgoing transactions between backups!.

marked as duplicate by Stephen Gornick, o0'., David Ogren, Colin Dean, eMansipater Apr 29 '13 at 21:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

Better yet, bitcoin-qt should have a permanent pool of 100 addresses, and add a new random address when you use one, in a FIFO style. That way you should be quite safe if you do less than 100 outgoing transactions between backups!.

That's what it does.

  • 1
    The only exception is if you are using getnewaddress from the API. Because you don't need to unlock the wallet, it simply pulls from the key pool. It won't create a new one and you can deplete the wallet of all keys from the key pool. – Stephen Gornick Apr 21 '13 at 7:59
  • Stephen, in that case is the pool going to refill "eventually", or your pool is now 99 keys long forever?. – jcea Apr 21 '13 at 15:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.