Bitcoin Forum
October 24, 2017, 02:46:18 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: replace keypool  (Read 353 times)
David Rabahy
Hero Member
*****
Offline Offline

Activity: 703



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

Posts: 1508813178

View Profile Personal Message (Offline)

Ignore
1508813178
Reply with quote  #2

1508813178
Report to moderator
1508813178
Hero Member
*
Offline Offline

Posts: 1508813178

View Profile Personal Message (Offline)

Ignore
1508813178
Reply with quote  #2

1508813178
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508813178
Hero Member
*
Offline Offline

Posts: 1508813178

View Profile Personal Message (Offline)

Ignore
1508813178
Reply with quote  #2

1508813178
Report to moderator
1508813178
Hero Member
*
Offline Offline

Posts: 1508813178

View Profile Personal Message (Offline)

Ignore
1508813178
Reply with quote  #2

1508813178
Report to moderator
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


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
*
qt
Offline Offline

Activity: 2324



View Profile
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.

Bitcoin will not be compromised
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!