v30.3-roots.1 · Commit 8: [PATCH 08/68] ci: restore Roots assurance on Core 30.3 interfaces
test/functional/rpc_packages.py
Before: test/functional/rpc_packages.py · After: test/functional/rpc_packages.py
File metadata
index 325a29c4efcaad7e8d894567b94f557f7f8d2d31..6b2d21f5737606b2d0ef1f019857edf0cd82db6c 100755
Download original patch · Release notes
Diff rows 1–19 of 19. 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
|
@@ -441,6 +441,8 @@ class RPCPackagesTest(BitcoinTestFramework):
|
|
|
441
441
|
# but child is too high fee
|
|
442
442
|
# Lower mempool limit to make it easier to fill_mempool
|
|
443
443
|
self.restart_node(0, extra_args=[
|
|
444
|
+
"-datacarriersize=100000",
|
|
445
|
+
"-maxscriptsize=100000", # Permit synthetic mempool-filling data carriers.
|
|
444
446
|
"-maxmempool=5",
|
|
445
447
|
"-persistmempool=0",
|
|
446
448
|
])
|
|
@@ -469,8 +471,9 @@ class RPCPackagesTest(BitcoinTestFramework):
|
|
|
469
471
|
assert parent["txid"] not in node.getrawmempool()
|
|
470
472
|
assert child["txid"] not in node.getrawmempool()
|
|
471
473
|
|
|
472
|
-
# Reset maxmempool, reset dynamic mempool minimum feerate, and empty mempool.
|
|
473
|
-
self.restart_node(0)
|
|
474
|
+
# Reset maxmempool, datacarriersize, reset dynamic mempool minimum feerate, and empty mempool.
|
|
475
|
+
# Keep the oversized script fixture focused on maxburnamount and generic script standardness.
|
|
476
|
+
self.restart_node(0, extra_args=["-maxscriptsize=100000"])
|
|
474
477
|
self.wallet.rescan_utxos()
|
|
475
478
|
|
|
476
479
|
assert_equal(node.getrawmempool(), [])
|