Setting keypool size in the conf file

0

I used keypool=10000 in the conf file but bitcoin-cli -getinfo shows "keypoolsize":1000. Why?

oktested

Posted 2018-10-25T05:44:00.633

Reputation: 11

Try running keypoolrefillRaghav Sood 2018-10-25T05:57:25.843

But that will just refill it back to 1000 in case I use a couple of addresses and bring it down to 998, right? I need the size to be expanded.oktested 2018-10-25T06:01:10.077

This sort of thing is almost totally irrelevant with HD wallets.Anonymous 2018-10-25T07:44:55.033

Answers

2

keypoolsize only shows how many keys are currently in the keypool. It does not reflect the maximum size of the keypool. The keypool=<n> option does not automatically fill the keypool to that size, you will need to refill it by using keypoolrefill.

If after keypoolrefill you still do not see a larger keypool, then that means your bitcoin.conf file is either named incorrectly, located in the wrong location, or formatted incorrectly.

Andrew Chow

Posted 2018-10-25T05:44:00.633

Reputation: 40 910