aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Lopp <jameson@bitgo.com>2016-08-04 17:33:59 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2016-09-21 02:43:47 +0000
commitb17a3f9e5af0a97a4d744bcbdac11fcb19de546c (patch)
treed05f897681a8ef4dff26fc96fcb6b053a59a34d9
parenta27cdd8edf9083dd38cdb39b4067286ea20e15ea (diff)
downloadbitcoin-b17a3f9e5af0a97a4d744bcbdac11fcb19de546c.tar.xz
document return value of networkhashps for getmininginfo RPC endpoint
Github-Pull: #8461 Rebased-From: 65f4532f13a89cacc4909072601d71ee7ebae5c5
-rw-r--r--src/rpc/mining.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 6d88d4bec8..a26340f3e4 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -227,10 +227,11 @@ UniValue getmininginfo(const UniValue& params, bool fHelp)
" \"currentblockweight\": nnn, (numeric) The last block weight\n"
" \"currentblocktx\": nnn, (numeric) The last block transaction\n"
" \"difficulty\": xxx.xxxxx (numeric) The current difficulty\n"
- " \"errors\": \"...\" (string) Current errors\n"
+ " \"errors\": \"...\" (string) Current errors\n"
+ " \"networkhashps\": nnn, (numeric) The network hashes per second\n"
" \"pooledtx\": n (numeric) The size of the mem pool\n"
" \"testnet\": true|false (boolean) If using testnet or not\n"
- " \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"
+ " \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"
"}\n"
"\nExamples:\n"
+ HelpExampleCli("getmininginfo", "")