diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-12 13:14:54 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-12 15:01:30 +0100 |
commit | f6d9d5ee75c9a2100fbf14c5a1e2211f973ac6e1 (patch) | |
tree | 2343ec821d9c190944a5f6a764bffa842bbfea07 | |
parent | 5fcc14ee0562faff2ace17082f664e60c375b334 (diff) | |
download | bitcoin-f6d9d5ee75c9a2100fbf14c5a1e2211f973ac6e1.tar.xz |
add (max)uploadtarget infos to getnettotals RPC help
-rw-r--r-- | src/rpcnet.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index 9bf017e385..8915010649 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -368,7 +368,16 @@ UniValue getnettotals(const UniValue& params, bool fHelp) "{\n" " \"totalbytesrecv\": n, (numeric) Total bytes received\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" "\nExamples:\n" + HelpExampleCli("getnettotals", "") |