Input(s) 1
The keypoolrefill command refills the keypool, ensuring that a new set of keys is available for generating addresses and transactions. It is used to replenish the keypool with a specified number of keys, or it defaults to 1000 keys if no size is specified.
How is this used?
This command is typically used to maintain a pool of unused keys within the wallet. When a new address is generated or a transaction is signed, a key from the keypool is used. Refilling the keypool ensures that a wallet has an adequate supply of keys available for future use, improving efficiency and avoiding potential issues with key exhaustion.
Request
method
keypoolrefill
newsize
Optional
Inputs(1)
Result