aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorAndrew Toth <andrewstoth@gmail.com>2021-12-06 12:30:58 -0500
committerAndrew Toth <andrewstoth@gmail.com>2021-12-06 12:30:58 -0500
commitbce20c34d6b999e700a560f95351c212ed8c36f4 (patch)
tree50fe82343b5b74291b1acc7e7c2781181594c5f4 /src/rpc
parentdca9ab48b80ff3a7dbe0ae26964a58e70d570618 (diff)
Include coinbase transactions in receivedby wallet rpcs
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 90fbd823a4..c0c9e4f005 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -46,13 +46,17 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "settxfee", 0, "amount" },
{ "sethdseed", 0, "newkeypool" },
{ "getreceivedbyaddress", 1, "minconf" },
+ { "getreceivedbyaddress", 2, "include_immature_coinbase" },
{ "getreceivedbylabel", 1, "minconf" },
+ { "getreceivedbylabel", 2, "include_immature_coinbase" },
{ "listreceivedbyaddress", 0, "minconf" },
{ "listreceivedbyaddress", 1, "include_empty" },
{ "listreceivedbyaddress", 2, "include_watchonly" },
+ { "listreceivedbyaddress", 4, "include_immature_coinbase" },
{ "listreceivedbylabel", 0, "minconf" },
{ "listreceivedbylabel", 1, "include_empty" },
{ "listreceivedbylabel", 2, "include_watchonly" },
+ { "listreceivedbylabel", 3, "include_immature_coinbase" },
{ "getbalance", 1, "minconf" },
{ "getbalance", 2, "include_watchonly" },
{ "getbalance", 3, "avoid_reuse" },