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. The two line-number columns refer to before and after.

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