Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks

test/functional/rpc_packages.py

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

File metadata
index 12e086212a2436ab2c1ea2214acf29822dfa7ecb..dc1d82e56034f5ba05fcb6f615327d3625501edf 100755

Download original patch · Release notes

Diff rows 1–15 of 15. 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
@@ -35,6 +35,7 @@ MAX_PACKAGE_COUNT = 25
35
  class RPCPackagesTest(BitcoinTestFramework):
36
  def set_test_params(self):
37
  self.num_nodes = 1
 
38
  self.setup_clean_chain = True
39
  # whitelist peers to speed up tx relay / mempool sync
40
  self.noban_tx_relay = True
@@ -450,7 +451,7 @@ class RPCPackagesTest(BitcoinTestFramework):
450
  # Make chain of two transactions where parent doesn't make minfee threshold
451
  # but child is too high fee
452
  # Lower mempool limit to make it easier to fill_mempool
453
- self.restart_node(0, extra_args=[
454
  "-maxmempool=5",
455
  "-persistmempool=0",
456
  ])
 
35
  class RPCPackagesTest(BitcoinTestFramework):
36
  def set_test_params(self):
37
  self.num_nodes = 1
38
+ self.extra_args = [["-maxscriptsize=1000000", "-datacarriersize=1000000"]]
39
  self.setup_clean_chain = True
40
  # whitelist peers to speed up tx relay / mempool sync
41
  self.noban_tx_relay = True
 
451
  # Make chain of two transactions where parent doesn't make minfee threshold
452
  # but child is too high fee
453
  # Lower mempool limit to make it easier to fill_mempool
454
+ self.restart_node(0, extra_args=self.extra_args[0] + [
455
  "-maxmempool=5",
456
  "-persistmempool=0",
457
  ])