v29.4-roots.1 · Commit 8: [PATCH 08/13] ci: restore assurance and isolate Core fixtures
test/functional/feature_maxuploadtarget.py
Before: test/functional/feature_maxuploadtarget.py · After: test/functional/feature_maxuploadtarget.py
File metadata
index ad5a7e4831a92704c447218d3e1d591437142ae2..8d58d26ed1c45a6580d0ef1178c82d0804005856 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
test/functional/feature_maxuploadtarget.py
CHANGED
|
@@ -51,7 +51,9 @@ class MaxUploadTest(BitcoinTestFramework):
|
|
| 51 |
self.num_nodes = 1
|
| 52 |
self.extra_args = [[
|
| 53 |
f"-maxuploadtarget={UPLOAD_TARGET_MB}M",
|
|
|
|
| 54 |
"-datacarriersize=100000",
|
|
|
|
| 55 |
]]
|
| 56 |
self.supports_cli = False
|
| 57 |
|
|
|
|
| 51 |
self.num_nodes = 1
|
| 52 |
self.extra_args = [[
|
| 53 |
f"-maxuploadtarget={UPLOAD_TARGET_MB}M",
|
| 54 |
+
"-blockmaxsize=1000000", # Produce the large blocks assumed by the upload accounting below.
|
| 55 |
"-datacarriersize=100000",
|
| 56 |
+
"-maxscriptsize=100000", # Permit the synthetic 67 kB data carriers used to build large blocks.
|
| 57 |
]]
|
| 58 |
self.supports_cli = False
|
| 59 |
|