aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorSishir Giri <sishirg27@gmail.com>2020-07-12 12:52:02 -0700
committerSishir Giri <sishirg27@gmail.com>2020-09-26 17:57:26 -0700
commitd5863c0b3e20d56acf7246008b7832efde68ab21 (patch)
tree899055a8ef8fd8a49a6a86f410144cbf8639a65f /src/rpc
parent1b313cacc99a1b372238f9036abed5491f9d28f7 (diff)
[send] Make send RPCs return fee reason
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 3c432464f2..88c8ebe1f6 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -41,6 +41,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "sendtoaddress", 5 , "replaceable" },
{ "sendtoaddress", 6 , "conf_target" },
{ "sendtoaddress", 8, "avoid_reuse" },
+ { "sendtoaddress", 9, "verbose"},
{ "settxfee", 0, "amount" },
{ "sethdseed", 0, "newkeypool" },
{ "getreceivedbyaddress", 1, "minconf" },
@@ -72,6 +73,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "sendmany", 4, "subtractfeefrom" },
{ "sendmany", 5 , "replaceable" },
{ "sendmany", 6 , "conf_target" },
+ { "sendmany", 8, "verbose" },
{ "deriveaddresses", 1, "range" },
{ "scantxoutset", 1, "scanobjects" },
{ "addmultisigaddress", 0, "nrequired" },