diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-04-09 11:59:17 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-04-09 15:23:09 +0200 |
commit | 57026a29bcbc7538526d4e77951833ae61f8690f (patch) | |
tree | d654f0e8638dbdc0675ec6b5da2a47e3ef609116 /src/rpcserver.h | |
parent | 7efc9cf672acd752521a79c1547d232b2ca3486b (diff) | |
parent | e2edf95cd3f43331843676e49a82830128a95050 (diff) | |
download | bitcoin-57026a29bcbc7538526d4e77951833ae61f8690f.tar.xz |
Merge pull request #5957
e2edf95 Bugfix: make CreateNewBlock return pindexPrev (Pieter Wuille)
6b04508 Introduce separate 'generate' RPC call (Pieter Wuille)
0df67f1 Simplify hash loop code (Pieter Wuille)
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); |