From e6953401330e9cd007736432be9713bfb40fded2 Mon Sep 17 00:00:00 2001 From: Duke Date: Wed, 15 Nov 2023 07:54:30 -0500 Subject: [PATCH] Update RPC help for z_listreceivedaddress --- src/wallet/rpcwallet.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 1442aaa92..059f14d0f 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3310,6 +3310,7 @@ UniValue z_listreceivedaddress(const UniValue& params, bool fHelp,const CPubKey& "\nReturns received outputs.\n" "\n" "This function only returns information on addresses with full spending keys." + "This function is slow if no filters are given, use z_listreceivedbyaddress if you do not need filters." "\n" "\nArguments:\n" "1. \"hushaddress:\" (string, required) \n" @@ -3349,13 +3350,13 @@ UniValue z_listreceivedaddress(const UniValue& params, bool fHelp,const CPubKey& " \"walletconflicts\": [conflicts], An array of wallet conflicts\n" " \"recieved\": { A list of receives from the transaction\n" " \"transparentReceived\": [{ An Array of txos received for transparent addresses\n" - " \"address\": \"zeroaddress\", (string) Hush transparent address (t-address)\n" + " \"address\": \"hushaddress\", (string) Hush transparent address (t-address)\n" " \"scriptPubKey\": \"script\", (string) Script for the transparent address (t-address)\n" " \"amount\": x.xxxx, (numeric) Value of output being received " + CURRENCY_UNIT + ", positive for receives\n" " \"vout\": : n, (numeric) the vout value\n" " }],\n" " \"saplingReceived\": [{ An Array of utxos/notes received for sapling addresses\n" - " \"address\": \"zeroaddress\", (string) Shielded address (z-address)\n" + " \"address\": \"hushaddress\", (string) Shielded address (z-address)\n" " \"amount\": x.xxxx, (numeric) Value of output being received " + CURRENCY_UNIT + ", positive for receives\n" " \"memo\": xxxxx, (string) hexademical string representation of memo field\n" " \"memoStr\" : \"memo\", (string) Only returned if memo contains valid UTF-8 text.\n"