Skip to content
Bitcoin Roots

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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

test/functional/rpc_packages.py CHANGED
@@ -441,6 +441,8 @@ class RPCPackagesTest(BitcoinTestFramework):
441
  # but child is too high fee
442
  # Lower mempool limit to make it easier to fill_mempool
443
  self.restart_node(0, extra_args=[
 
 
444
  "-maxmempool=5",
445
  "-persistmempool=0",
446
  ])
@@ -469,8 +471,9 @@ class RPCPackagesTest(BitcoinTestFramework):
469
  assert parent["txid"] not in node.getrawmempool()
470
  assert child["txid"] not in node.getrawmempool()
471
 
472
- # Reset maxmempool, reset dynamic mempool minimum feerate, and empty mempool.
473
- self.restart_node(0)
 
474
  self.wallet.rescan_utxos()
475
 
476
  assert_equal(node.getrawmempool(), [])
 
441
  # but child is too high fee
442
  # Lower mempool limit to make it easier to fill_mempool
443
  self.restart_node(0, extra_args=[
444
+ "-datacarriersize=100000",
445
+ "-maxscriptsize=100000", # Permit synthetic mempool-filling data carriers.
446
  "-maxmempool=5",
447
  "-persistmempool=0",
448
  ])
 
471
  assert parent["txid"] not in node.getrawmempool()
472
  assert child["txid"] not in node.getrawmempool()
473
 
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"])
477
  self.wallet.rescan_utxos()
478
 
479
  assert_equal(node.getrawmempool(), [])