aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/maxuploadtarget.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2015-12-22 10:43:46 +0100
committerMarcoFalke <falke.marco@gmail.com>2016-03-14 16:45:18 +0100
commitfad8cfb893ac0ba83c6fc2367ade55bfe4fa75f6 (patch)
treec57254ebedc80db63737f4e52840bd8e9ee9b298 /qa/rpc-tests/maxuploadtarget.py
parentfa8cd46f39778925eaf2caf812cccd9fb8503368 (diff)
[qa] mininode: Add and use CONSTs
Diffstat (limited to 'qa/rpc-tests/maxuploadtarget.py')
-rwxr-xr-xqa/rpc-tests/maxuploadtarget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/maxuploadtarget.py b/qa/rpc-tests/maxuploadtarget.py
index 4d6b343f77..2517bed470 100755
--- a/qa/rpc-tests/maxuploadtarget.py
+++ b/qa/rpc-tests/maxuploadtarget.py
@@ -176,7 +176,7 @@ class MaxUploadTest(BitcoinTestFramework):
getdata_request.inv.append(CInv(2, big_old_block))
max_bytes_per_day = 200*1024*1024
- daily_buffer = 144 * 1000000
+ daily_buffer = 144 * MAX_BLOCK_SIZE
max_bytes_available = max_bytes_per_day - daily_buffer
success_count = max_bytes_available / old_block_size