diff options
author | MarcoFalke <falke.marco@gmail.com> | 2015-11-06 00:05:06 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2015-11-12 20:45:57 +0100 |
commit | b27e81f115e67bffee2c35c1c96082879160f6e1 (patch) | |
tree | fb10c90527ba68b09c8a8bab30626606235e6a6a /qa | |
parent | bd629d77edbeac6ce71a34f6d557c4e00513be44 (diff) |
[net] Cleanup maxuploadtarget
* log: nMaxOutboundLimit is in bytes
* log: Hide misleading -maxuploadtarget=0 warning
* qa : Minor cleanup to maxuploadtarget rpc tests
* net: Use DEFAULT_MAX_UPLOAD_TARGET = 0
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/rpc-tests/maxuploadtarget.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/rpc-tests/maxuploadtarget.py b/qa/rpc-tests/maxuploadtarget.py index 67c4a50985..148c5f37e4 100755 --- a/qa/rpc-tests/maxuploadtarget.py +++ b/qa/rpc-tests/maxuploadtarget.py @@ -192,7 +192,8 @@ class MaxUploadTest(BitcoinTestFramework): getdata_request.inv.append(CInv(2, big_old_block)) max_bytes_per_day = 200*1024*1024 - max_bytes_available = max_bytes_per_day - 144*1000000 + daily_buffer = 144 * 1000000 + max_bytes_available = max_bytes_per_day - daily_buffer success_count = max_bytes_available / old_block_size # 144MB will be reserved for relaying new blocks, so expect this to |