aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2013-10-01 07:09:04 -0700
committerJeff Garzik <jgarzik@bitpay.com>2013-10-01 07:09:04 -0700
commit19c415b1cf0dc4fd5fe08e8e7e146c7996261170 (patch)
tree13a6ee3c9b96736b3c767985714780d92df694d5 /src/bitcoinrpc.h
parent95a766abc5ae210cb6f35387dedaeab7475e4a92 (diff)
parentd64eef48a45d1bbbbab5adf39d6ba1fe4537cea1 (diff)
Merge pull request #2888 from litecoin-project/getnetworkhashps
Add getnetworkhashps to get the estimated network hashrate
Diffstat (limited to 'src/bitcoinrpc.h')
-rw-r--r--src/bitcoinrpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h
index ab0a0bc968..0523a1c42c 100644
--- a/src/bitcoinrpc.h
+++ b/src/bitcoinrpc.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 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);