v30.3-roots.1 · Commit 8: [PATCH 08/68] ci: restore Roots assurance on Core 30.3 interfaces
test/functional/feature_maxuploadtarget.py
Before: test/functional/feature_maxuploadtarget.py · After: test/functional/feature_maxuploadtarget.py
File metadata
index 6c4366c02082f8ffd7d9feabca252c782247b3c2..6884d90e6a74353f91cfed3028ba379df6741fba 100755
Download original patch · Release notes
Diff rows 1–9 of 9. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
test/functional/feature_maxuploadtarget.py
CHANGED
|
@@ -50,6 +50,9 @@ class MaxUploadTest(BitcoinTestFramework):
|
|
|
50
50
|
self.num_nodes = 1
|
|
51
51
|
self.extra_args = [[
|
|
52
52
|
f"-maxuploadtarget={UPLOAD_TARGET_MB}M",
|
|
53
|
+
"-blockmaxsize=1000000", # Produce the large blocks assumed by the upload accounting below.
|
|
54
|
+
"-datacarriersize=100000",
|
|
55
|
+
"-maxscriptsize=100000", # Permit the synthetic 67 kB data carriers used to build large blocks.
|
|
53
56
|
]]
|
|
54
57
|
|
|
55
58
|
def assert_uploadtarget_state(self, *, target_reached, serve_historical_blocks):
|