Skip to content
Bitcoin Roots

v29.4-roots.3 · Commit 8: [PATCH 08/30] 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. The two line-number columns refer to before and after.

test/functional/feature_maxuploadtarget.py CHANGED
@@ -51,7 +51,9 @@ class MaxUploadTest(BitcoinTestFramework):
51
51
  self.num_nodes = 1
52
52
  self.extra_args = [[
53
53
  f"-maxuploadtarget={UPLOAD_TARGET_MB}M",
54
+ "-blockmaxsize=1000000", # Produce the large blocks assumed by the upload accounting below.
54
55
  "-datacarriersize=100000",
56
+ "-maxscriptsize=100000", # Permit the synthetic 67 kB data carriers used to build large blocks.
55
57
  ]]
56
58
  self.supports_cli = False
57
59