mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-15 07:52:39 +00:00
rpc, doc: update listdescriptors RCP help
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. Github-Pull: #32708 Rebased-From: b44514b876333a94ae242da8b1e4cee439c2d37e
This commit is contained in:
parent
c899334e36
commit
78688c8413
@ -1781,7 +1781,7 @@ RPCHelpMan listdescriptors()
|
||||
{
|
||||
return RPCHelpMan{
|
||||
"listdescriptors",
|
||||
"\nList descriptors imported into a descriptor-enabled wallet.\n",
|
||||
"\nList all descriptors present in a descriptor-enabled wallet.\n",
|
||||
{
|
||||
{"private", RPCArg::Type::BOOL, RPCArg::Default{false}, "Show private descriptors."}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user