v29.4-roots.2 · Commit 10: [PATCH 10/21] fix: harden final Roots assurance
test/functional/mempool_compatibility.py
Before: test/functional/mempool_compatibility.py · After: test/functional/mempool_compatibility.py
File metadata
index 7c72aaae773724a4ea132c14264076307ef40840..a5f7b92ad065cb0ef58d263e3354deee36028770 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/mempool_compatibility.py
CHANGED
|
@@ -22,6 +22,7 @@ class MempoolCompatibilityTest(BitcoinTestFramework):
|
|
|
22
22
|
def set_test_params(self):
|
|
23
23
|
self.num_nodes = 2
|
|
24
24
|
self.setup_clean_chain = True
|
|
25
|
+
self.extra_args = [[], ["-permitbarepubkey=1"]]
|
|
25
26
|
|
|
26
27
|
def skip_test_if_missing_module(self):
|
|
27
28
|
self.skip_if_no_previous_releases()
|
|
@@ -59,7 +60,7 @@ class MempoolCompatibilityTest(BitcoinTestFramework):
|
|
|
59
60
|
old_node_mempool.rename(new_node_mempool)
|
|
60
61
|
|
|
61
62
|
self.log.info("Start new node and verify mempool contains the tx")
|
|
62
|
-
self.start_node(1, extra_args=["-persistmempoolv1=1"])
|
|
63
|
+
self.start_node(1, extra_args=self.extra_args[1] + ["-persistmempoolv1=1"])
|
|
63
64
|
assert old_tx_hash in new_node.getrawmempool()
|
|
64
65
|
|
|
65
66
|
self.log.info("Add unbroadcasted tx to mempool on new node and shutdown")
|