v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks
test/functional/p2p_1p1c_network.py
Before: test/functional/p2p_1p1c_network.py · After: test/functional/p2p_1p1c_network.py
File metadata
index e5552183834b58739bc8a7aee8c71132304e0484..54bdd27a446f7d022e63aacf6a8e79790767d983 100755
Download original patch · Release notes
Diff rows 1–7 of 7. 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_1p1c_network.py
CHANGED
|
@@ -34,6 +34,7 @@ class PackageRelayTest(BitcoinTestFramework):
|
|
| 34 |
def set_test_params(self):
|
| 35 |
self.setup_clean_chain = True
|
| 36 |
self.num_nodes = 4
|
|
|
|
| 37 |
# hugely speeds up the test, as it involves multiple hops of tx relay.
|
| 38 |
self.noban_tx_relay = True
|
| 39 |
|
|
|
|
| 34 |
def set_test_params(self):
|
| 35 |
self.setup_clean_chain = True
|
| 36 |
self.num_nodes = 4
|
| 37 |
+
self.extra_args = [['-permitbarepubkey=1']] * self.num_nodes # Non-witness package fixtures.
|
| 38 |
# hugely speeds up the test, as it involves multiple hops of tx relay.
|
| 39 |
self.noban_tx_relay = True
|
| 40 |
|