diff options
author | coblee <chocobo@alum.mit.edu> | 2013-05-17 00:57:05 -1000 |
---|---|---|
committer | Charlie Lee <coblee@litecoin.org> | 2013-09-17 11:15:02 +0800 |
commit | d64eef48a45d1bbbbab5adf39d6ba1fe4537cea1 (patch) | |
tree | 5cd08161a77f432ccee1ae7cb05d3a4e8d6023d2 /src/bitcoinrpc.h | |
parent | 6cc766fa55c0d74916d615c69689e9e798bf0aba (diff) |
Add getnetworkhashps to get the calculated network hashrate
Diffstat (limited to 'src/bitcoinrpc.h')
-rw-r--r-- | src/bitcoinrpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index 4d5599be84..5536582896 100644 --- a/src/bitcoinrpc.h +++ b/src/bitcoinrpc.h @@ -153,6 +153,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 getnetworkhashps(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value gethashespersec(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getmininginfo(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getwork(const json_spirit::Array& params, bool fHelp); |