v29.4-roots.2 · Commit 8: [PATCH 08/21] ci: restore assurance and isolate Core fixtures
test/functional/rpc_packages.py
Before: test/functional/rpc_packages.py · After: test/functional/rpc_packages.py
File metadata
index 539e9d09add6d3a889d3ef1589069de635c6388a..2376708c06f0182fa59f3806eea1944c8d845d61 100755
Download original patch · Release notes
Diff rows 1–16 of 16. 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/rpc_packages.py
CHANGED
|
@@ -439,6 +439,7 @@ class RPCPackagesTest(BitcoinTestFramework):
|
|
|
439
439
|
# Lower mempool limit to make it easier to fill_mempool
|
|
440
440
|
self.restart_node(0, extra_args=[
|
|
441
441
|
"-datacarriersize=100000",
|
|
442
|
+
"-maxscriptsize=100000", # Permit synthetic mempool-filling data carriers.
|
|
442
443
|
"-maxmempool=5",
|
|
443
444
|
"-persistmempool=0",
|
|
444
445
|
])
|
|
@@ -468,7 +469,8 @@ class RPCPackagesTest(BitcoinTestFramework):
|
|
|
468
469
|
assert child["txid"] not in node.getrawmempool()
|
|
469
470
|
|
|
470
471
|
# Reset maxmempool, datacarriersize, reset dynamic mempool minimum feerate, and empty mempool.
|
|
471
|
-
self.restart_node(0)
|
|
472
|
+
# Keep the oversized script fixture focused on maxburnamount and generic script standardness.
|
|
473
|
+
self.restart_node(0, extra_args=["-maxscriptsize=100000"])
|
|
472
474
|
self.wallet.rescan_utxos()
|
|
473
475
|
|
|
474
476
|
assert_equal(node.getrawmempool(), [])
|