Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 4: [PATCH 04/17] feat(mining): preserve Roots priority and template policies

test/functional/feature_maxuploadtarget.py

Before: test/functional/feature_maxuploadtarget.py · After: test/functional/feature_maxuploadtarget.py

File metadata
index ec0bdc4d3ba07827f2711bdecf68b55b418c8ecd..2ba6238ff604fff4307a6dfdc8b13adcb4bf8770 100755

Download original patch · Release notes

Diff rows 1–7 of 7. 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
@@ -50,6 +50,7 @@ class MaxUploadTest(BitcoinTestFramework):
50
  self.num_nodes = 1
51
  self.extra_args = [[
52
  f"-maxuploadtarget={UPLOAD_TARGET_MB}M",
 
53
  "-maxscriptsize=1000000", "-datacarriersize=1000000", # Large-block padding.
54
  ]]
55
 
 
50
  self.num_nodes = 1
51
  self.extra_args = [[
52
  f"-maxuploadtarget={UPLOAD_TARGET_MB}M",
53
+ "-blockmaxsize=1000000", # Source large-block upload accounting profile.
54
  "-maxscriptsize=1000000", "-datacarriersize=1000000", # Large-block padding.
55
  ]]
56