Bitcoin Forum
May 07, 2024, 06:11:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: replace keypool  (Read 415 times)
David Rabahy (OP)
Hero Member
*****
Offline Offline

Activity: 709
Merit: 501



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

Posts: 1715062263

View Profile Personal Message (Offline)

Ignore
1715062263
Reply with quote  #2

1715062263
Report to moderator
1715062263
Hero Member
*
Offline Offline

Posts: 1715062263

View Profile Personal Message (Offline)

Ignore
1715062263
Reply with quote  #2

1715062263
Report to moderator
1715062263
Hero Member
*
Offline Offline

Posts: 1715062263

View Profile Personal Message (Offline)

Ignore
1715062263
Reply with quote  #2

1715062263
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715062263
Hero Member
*
Offline Offline

Posts: 1715062263

View Profile Personal Message (Offline)

Ignore
1715062263
Reply with quote  #2

1715062263
Report to moderator
1715062263
Hero Member
*
Offline Offline

Posts: 1715062263

View Profile Personal Message (Offline)

Ignore
1715062263
Reply with quote  #2

1715062263
Report to moderator
1715062263
Hero Member
*
Offline Offline

Posts: 1715062263

View Profile Personal Message (Offline)

Ignore
1715062263
Reply with quote  #2

1715062263
Report to moderator
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: 4158
Merit: 8382



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!