Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 10: [PATCH 10/68] fix: harden Roots priority and wallet policy boundaries

test/functional/mempool_compatibility.py

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

File metadata
index 51b0cd63b2b324def211b11fe5be607a50abba83..2375af1d0c2fdaf9df9e6dfe2f2f35f51dfb88bf 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/mempool_compatibility.py CHANGED
@@ -22,6 +22,7 @@ class MempoolCompatibilityTest(BitcoinTestFramework):
22
  def set_test_params(self):
23
  self.num_nodes = 2
24
  self.setup_clean_chain = True
 
25
 
26
  def skip_test_if_missing_module(self):
27
  self.skip_if_no_previous_releases()
@@ -60,7 +61,7 @@ class MempoolCompatibilityTest(BitcoinTestFramework):
60
  old_node_mempool.rename(new_node_mempool)
61
 
62
  self.log.info("Start new node and verify mempool contains the tx")
63
- self.start_node(1, extra_args=["-persistmempoolv1=1"])
64
  assert old_tx_hash in new_node.getrawmempool()
65
 
66
  self.log.info("Add unbroadcasted tx to mempool on new node and shutdown")
 
22
  def set_test_params(self):
23
  self.num_nodes = 2
24
  self.setup_clean_chain = True
25
+ self.extra_args = [[], ["-permitbarepubkey=1"]]
26
 
27
  def skip_test_if_missing_module(self):
28
  self.skip_if_no_previous_releases()
 
61
  old_node_mempool.rename(new_node_mempool)
62
 
63
  self.log.info("Start new node and verify mempool contains the tx")
64
+ self.start_node(1, extra_args=self.extra_args[1] + ["-persistmempoolv1=1"])
65
  assert old_tx_hash in new_node.getrawmempool()
66
 
67
  self.log.info("Add unbroadcasted tx to mempool on new node and shutdown")