Browse Source

Merge pull request #6999

f6d9d5e add (max)uploadtarget infos to getnettotals RPC help (Jonas Schnelli)
0.13
Gregory Maxwell 9 years ago
parent
commit
972bf9c529
No known key found for this signature in database
GPG Key ID: EAB5AF94D9E9ABE7
  1. 11
      src/rpcnet.cpp

11
src/rpcnet.cpp

@ -368,7 +368,16 @@ UniValue getnettotals(const UniValue& params, bool fHelp)
"{\n" "{\n"
" \"totalbytesrecv\": n, (numeric) Total bytes received\n" " \"totalbytesrecv\": n, (numeric) Total bytes received\n"
" \"totalbytessent\": n, (numeric) Total bytes sent\n" " \"totalbytessent\": n, (numeric) Total bytes sent\n"
" \"timemillis\": t (numeric) Total cpu time\n" " \"timemillis\": t, (numeric) Total cpu time\n"
" \"uploadtarget\":\n"
" {\n"
" \"timeframe\": n, (numeric) Length of the measuring timeframe in seconds\n"
" \"target\": n, (numeric) Target in bytes\n"
" \"target_reached\": true|false, (boolean) True if target is reached\n"
" \"serve_historical_blocks\": true|false, (boolean) True if serving historical blocks\n"
" \"bytes_left_in_cycle\": t, (numeric) Bytes left in current time cycle\n"
" \"time_left_in_cycle\": t (numeric) Seconds left in current time cycle\n"
" }\n"
"}\n" "}\n"
"\nExamples:\n" "\nExamples:\n"
+ HelpExampleCli("getnettotals", "") + HelpExampleCli("getnettotals", "")

Loading…
Cancel
Save