mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
[qa] mininode: Add and use CONSTs
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user