aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-03-31 20:28:28 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2015-04-01 11:47:10 -0700
commit6b04508e37c5dd18cec1cd61cc4356bd208aa991 (patch)
treee3a5ac58ed8e891e55638af98db9b33257db57f3 /src/rpcserver.cpp
parent0df67f1f7ab4adfe9f0b3ba6276e737b37826464 (diff)
Introduce separate 'generate' RPC call
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index d30fa32eb4..0fd7769a19 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -312,6 +312,7 @@ static const CRPCCommand vRPCCommands[] =
/* Coin generation */
{ "generating", "getgenerate", &getgenerate, true, false },
{ "generating", "setgenerate", &setgenerate, true, false },
+ { "generating", "generate", &generate, true, false },
#endif
/* Raw transactions */