diff options
author | Ivan Metlushko <metlushko@gmail.com> | 2020-10-09 14:24:20 +0700 |
---|---|---|
committer | Ivan Metlushko <metlushko@gmail.com> | 2021-01-27 21:22:13 +0100 |
commit | 647b81b70938dc4dbcf32399c56f78be395c721a (patch) | |
tree | 3098f9a6da9bef19aa45e6865f7bc7ba5b20214e /src/wallet/rpcwallet.cpp | |
parent | f1f26b8d5baec4a45a3a9ba0440cd4eff7af8407 (diff) |
wallet, rpc: add listdescriptors command
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index ae4e8f2898..92bae9dc54 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4537,6 +4537,7 @@ RPCHelpMan importprunedfunds(); RPCHelpMan removeprunedfunds(); RPCHelpMan importmulti(); RPCHelpMan importdescriptors(); +RPCHelpMan listdescriptors(); Span<const CRPCCommand> GetWalletRPCCommands() { @@ -4575,6 +4576,7 @@ static const CRPCCommand commands[] = { "wallet", "importwallet", &importwallet, {"filename"} }, { "wallet", "keypoolrefill", &keypoolrefill, {"newsize"} }, { "wallet", "listaddressgroupings", &listaddressgroupings, {} }, + { "wallet", "listdescriptors", &listdescriptors, {} }, { "wallet", "listlabels", &listlabels, {"purpose"} }, { "wallet", "listlockunspent", &listlockunspent, {} }, { "wallet", "listreceivedbyaddress", &listreceivedbyaddress, {"minconf","include_empty","include_watchonly","address_filter"} }, |