Bitcoin Forum
December 11, 2024, 11:27:47 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: replace keypool  (Read 416 times)
David Rabahy (OP)
Hero Member
*****
Offline Offline

Activity: 709
Merit: 503



View Profile
September 04, 2013, 07:32:20 PM
 #1

Suppose I had a weak passphrase and then changed it to a strong one.  I worry that the keypool during the weak period needs to be replaced.

Am I obliged to create a whole new wallet or is there a trick to consume the keypool?
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
September 04, 2013, 07:34:06 PM
 #2

the default keypool is 100 keys.

if you call getnewaddress 100 times it will remove all existing keys from keypool (and auto replace them with newer ones).

from commandline:
bitcoind getnewaddress

from debug window:
getnewaddress
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4284
Merit: 8816



View Profile WWW
September 04, 2013, 07:41:28 PM
 #3

If you reencrypt your wallet I _believe_ should consume the keypool and give you a new one. It does on initial encrypt and I've tested this case.
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!