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/p2p_opportunistic_1p1c.py

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

File metadata
index ef4440b9ecb6013766971ca9973c46d898d0944b..f374d8990db328ee29bda9ff8e46fe8c07060051 100755

Download original patch · Release notes

Diff rows 1–13 of 13. 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/p2p_opportunistic_1p1c.py CHANGED
@@ -78,10 +78,12 @@ class PackageRelayTest(BitcoinTestFramework):
78
  self.num_nodes = 1
79
  self.extra_args = [[
80
  "-maxmempool=5",
 
 
81
  ]]
82
 
83
  def create_tx_below_mempoolminfee(self, wallet, utxo_to_spend=None):
84
- """Create a 1-input 0.1sat/vB transaction using a confirmed UTXO. Decrement and use
85
  self.sequence so that subsequent calls to this function result in unique transactions."""
86
 
87
  self.sequence -= 1
 
78
  self.num_nodes = 1
79
  self.extra_args = [[
80
  "-maxmempool=5",
81
+ "-maxscriptsize=1000000", "-datacarriersize=1000000", # fill_mempool padding.
82
+ "-permitbarepubkey=1", "-permitbaredatacarrier=1", # Legacy and large orphan fixtures.
83
  ]]
84
 
85
  def create_tx_below_mempoolminfee(self, wallet, utxo_to_spend=None):
86
+ """Create a 1-input 1sat/vB transaction using a confirmed UTXO. Decrement and use
87
  self.sequence so that subsequent calls to this function result in unique transactions."""
88
 
89
  self.sequence -= 1