diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-31 20:28:28 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-04-01 11:47:10 -0700 |
commit | 6b04508e37c5dd18cec1cd61cc4356bd208aa991 (patch) | |
tree | e3a5ac58ed8e891e55638af98db9b33257db57f3 /src/rpcserver.h | |
parent | 0df67f1f7ab4adfe9f0b3ba6276e737b37826464 (diff) |
Introduce separate 'generate' RPC call
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r-- | src/rpcserver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index 7011d41fc1..e7aaed8bdf 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -162,6 +162,7 @@ extern json_spirit::Value importwallet(const json_spirit::Array& params, bool fH extern json_spirit::Value getgenerate(const json_spirit::Array& params, bool fHelp); // in rpcmining.cpp extern json_spirit::Value setgenerate(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value generate(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getnetworkhashps(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getmininginfo(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value prioritisetransaction(const json_spirit::Array& params, bool fHelp); |