Skip to content

Commit f4e7778

Browse files
committed
Merge #8461: document return value of networkhashps for getmininginfo RPC endpoint
65f4532 document return value of networkhashps for getmininginfo RPC endpoint (Jameson Lopp)
2 parents 36404ae + 65f4532 commit f4e7778

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rpc/mining.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,11 @@ UniValue getmininginfo(const UniValue& params, bool fHelp)
227227
" \"currentblockweight\": nnn, (numeric) The last block weight\n"
228228
" \"currentblocktx\": nnn, (numeric) The last block transaction\n"
229229
" \"difficulty\": xxx.xxxxx (numeric) The current difficulty\n"
230-
" \"errors\": \"...\" (string) Current errors\n"
230+
" \"errors\": \"...\" (string) Current errors\n"
231+
" \"networkhashps\": nnn, (numeric) The network hashes per second\n"
231232
" \"pooledtx\": n (numeric) The size of the mem pool\n"
232233
" \"testnet\": true|false (boolean) If using testnet or not\n"
233-
" \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"
234+
" \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"
234235
"}\n"
235236
"\nExamples:\n"
236237
+ HelpExampleCli("getmininginfo", "")

0 commit comments

Comments
 (0)