Skip to content

Commit ff35a4b

Browse files
committed
docs: Improve keypoolrefill RPC docs
1 parent 44057fe commit ff35a4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wallet/rpc/addresses.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ RPCHelpMan addmultisigaddress()
336336
RPCHelpMan keypoolrefill()
337337
{
338338
return RPCHelpMan{"keypoolrefill",
339-
"\nFills the keypool."+
339+
"Refills each descriptor keypool in the wallet up to the specified number of new keys.\n"
340+
"By default, descriptor wallets have 4 active ranged descriptors (\"legacy\", \"p2sh-segwit\", \"bech32\", and \"bech32m\"), each with " + util::ToString(DEFAULT_KEYPOOL_SIZE) + " entries.\n" +
340341
HELP_REQUIRING_PASSPHRASE,
341342
{
342343
{"newsize", RPCArg::Type::NUM, RPCArg::DefaultHint{strprintf("%u, or as set by -keypool", DEFAULT_KEYPOOL_SIZE)}, "The new keypool size"},

0 commit comments

Comments
 (0)