Skip to content

Commit dff208b

Browse files
committed
Merge bitcoin/bitcoin#32708: rpc, doc: update listdescriptors RCP help
b44514b rpc, doc: update `listdescriptors` RCP help (rkrux) Pull request description: This RPC lists all the descriptors present in the wallet, not only the ones that were imported, but also the ones generated when a new wallet is created. It can be verified by creating a new wallet and calling the `listdescriptors` RPC, which will contain 8 ranged descriptors that are created for every new wallet. Also, update the description to get rid of "descriptor-enabled" because this is the only wallet type available now after removal of legacy wallets. ACKs for top commit: maflcko: lgtm ACK b44514b achow101: ACK b44514b pablomartin4btc: ACK b44514b theStack: ACK b44514b Tree-SHA512: d1018dd42fc4de12793f3e4f3be79ecb3fdee46fbc93ec8adb62b29a86e74aba2605d9908632107061f48ef8ee6f39ef6d0e34cc5e91acd93bc02242a2cee3eb
2 parents d978a43 + b44514b commit dff208b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpc/backup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ RPCHelpMan listdescriptors()
462462
{
463463
return RPCHelpMan{
464464
"listdescriptors",
465-
"List descriptors imported into a descriptor-enabled wallet.\n",
465+
"List all descriptors present in a wallet.\n",
466466
{
467467
{"private", RPCArg::Type::BOOL, RPCArg::Default{false}, "Show private descriptors."}
468468
},

0 commit comments

Comments
 (0)