aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authorAndrew Toth <andrewstoth@gmail.com>2020-03-27 11:00:10 -0400
committerAndrew Toth <andrewstoth@gmail.com>2020-03-27 11:00:10 -0400
commitdcc8332543f8fb6d1bb47cb270fcbb6a814a7d6e (patch)
treeee8fdeb4cb550416b1141d6a590ce53e83ca4696 /src/rpc/client.cpp
parente3154aacf444a29f9f5642b6c937e875ab9a2c13 (diff)
Add generateblock rpc
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index c1762483e9..64c7401199 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -33,6 +33,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "generatetoaddress", 2, "maxtries" },
{ "generatetodescriptor", 0, "num_blocks" },
{ "generatetodescriptor", 2, "maxtries" },
+ { "generateblock", 1, "transactions" },
{ "getnetworkhashps", 0, "nblocks" },
{ "getnetworkhashps", 1, "height" },
{ "sendtoaddress", 1, "amount" },