Skip to main content

keypoolrefill

Command#

pacprotocol-cli keypoolrefill ( newsize )

Fills the keypool.

Arguments#

newsize#

(numeric, optional, default=1000)

The new keypool size

Examples#

pacprotocol-cli keypoolrefill
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:1111/

Running following help command

pacprotocol-cli help keypoolrefill

Will produce following output:

keypoolrefill ( newsize )
Fills the keypool.
Arguments:
1. newsize (numeric, optional, default=1000) The new keypool size
Examples:
> pacprotocol-cli keypoolrefill
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:1111/