Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: xf2_org on June 03, 2011, 06:34:58 PM



Title: [PULL] add -keypoolmin, and avoid creating new key on every TX
Post by: xf2_org on June 03, 2011, 06:34:58 PM

URL: https://github.com/bitcoin/bitcoin/pull/294

Create -keypoolmin, and only top up keypool if size falls below that

Avoid creating a new key -every- time you use a reserve key. Instead, create them in bursts.

Currently, default is to generate 25 keys (filling keypool up to 100), if keypool size falls below 75.


Title: Re: [PULL] add -keypoolmin, and avoid creating new key on every TX
Post by: Luke-Jr on June 03, 2011, 08:09:11 PM
Can we increase the amount to generate too? I think it's perfectly reasonable to keep a buffer of 1000+ keys. Maybe a warning to backup when more are created, too?