diff --git a/doc/reduce-traffic.md b/doc/reduce-traffic.md index 2d86588eb..379fcad3f 100644 --- a/doc/reduce-traffic.md +++ b/doc/reduce-traffic.md @@ -19,7 +19,7 @@ This is *not* a hard limit; only a threshold to minimize the outbound traffic. When the limit is about to be reached, the uploaded data is cut by no longer serving historic blocks (blocks older than one week). Keep in mind that new nodes require other nodes that are willing to serve -historic blocks. **The recommended minimum is 144 blocks per day (max. 144MB +historic blocks. **The recommended minimum is 1152 blocks per day (max. 2304MB per day)** Whitelisted peers will never be disconnected, although their traffic counts for diff --git a/doc/release-notes.md b/doc/release-notes.md index 999aa84f1..35ba6d722 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -18,7 +18,7 @@ Moreover, any SPV peer is disconnected when they request a filtered block. This option can be specified in MiB per day and is turned off by default (`-maxuploadtarget=0`). -The recommended minimum is 144 * MAX_BLOCK_SIZE (currently 144MB) per day. +The recommended minimum is 1152 * MAX_BLOCK_SIZE (currently 2304MB) per day. Whitelisted peers will never be disconnected, although their traffic counts for calculating the target. diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 34e36cbf1..1a99c373e 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -363,7 +363,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", "")