diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-08-19 12:18:09 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-08-19 12:18:42 +0200 |
| commit | f4e777819c54fe0e386de517a201053698556236 (patch) | |
| tree | 6099f984f3f9865832f34223e643b93d9eb086b9 /src/rpc/mining.cpp | |
| parent | Merge #8540: qt: Fix random segfault when closing "Choose data directory" dialog (diff) | |
| parent | document return value of networkhashps for getmininginfo RPC endpoint (diff) | |
| download | discoin-f4e777819c54fe0e386de517a201053698556236.tar.xz discoin-f4e777819c54fe0e386de517a201053698556236.zip | |
Merge #8461: document return value of networkhashps for getmininginfo RPC endpoint
65f4532 document return value of networkhashps for getmininginfo RPC endpoint (Jameson Lopp)
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 6d88d4bec..a26340f3e 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", "") |