v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks
test/functional/feature_maxuploadtarget.py
Before: test/functional/feature_maxuploadtarget.py · After: test/functional/feature_maxuploadtarget.py
File metadata
index 1b0f28df00754bc1f5b082785050ef639ca2571b..ec0bdc4d3ba07827f2711bdecf68b55b418c8ecd 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 |
]]
|
| 54 |
|
| 55 |
def assert_uploadtarget_state(self, *, target_reached, serve_historical_blocks):
|
|
|
|
| 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 |
|
| 56 |
def assert_uploadtarget_state(self, *, target_reached, serve_historical_blocks):
|