diff options
| author | Jameson Lopp <[email protected]> | 2016-08-04 17:33:59 -0400 |
|---|---|---|
| committer | Jameson Lopp <[email protected]> | 2016-08-05 04:04:07 -0400 |
| commit | 65f4532f13a89cacc4909072601d71ee7ebae5c5 (patch) | |
| tree | 6de27b4f7bdfd59bb4551d91b8575465ba777e88 /src/rpc/mining.cpp | |
| parent | Merge #8444: Fix p2p-feefilter.py for changed tx relay behavior (diff) | |
| download | discoin-65f4532f13a89cacc4909072601d71ee7ebae5c5.tar.xz discoin-65f4532f13a89cacc4909072601d71ee7ebae5c5.zip | |
document return value of networkhashps for getmininginfo RPC endpoint
Diffstat (limited to 'src/rpc/mining.cpp')
| -rw-r--r-- | src/rpc/mining.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 92ca4bab6..3214e724b 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", "") |