diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-11-13 13:26:42 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-11-13 13:27:33 +0100 |
commit | d2e987aa19295e5da40b843aad7970f781a96ccd (patch) | |
tree | 165f0201e2e392a8ddb81af20e8111cdf19a82b1 /qa/rpc-tests | |
parent | 24c4841d16862c201bf62218280c2194a85a81ca (diff) | |
parent | 9c3ee3bf77382aca5717f9ae7163e79e3bf836af (diff) |
Merge pull request #6958
9c3ee3b [doc] Add -maxuploadtarget release notes (MarcoFalke)
b27e81f [net] Cleanup maxuploadtarget (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests')
-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 |