v29.4-roots.2 · Commit 3: [PATCH 03/21] policy: restore conservative relay and network controls
test/functional/p2p_blocksonly.py
Before: test/functional/p2p_blocksonly.py · After: test/functional/p2p_blocksonly.py
File metadata
index 6737cc687eadd615f274c3a0cca8da7d9c78f5d1..69c39816074aba8d387efd4280ce1123e48a1a20 100755
Download original patch · Release notes
Diff rows 1–8 of 8. 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_blocksonly.py
CHANGED
|
@@ -49,7 +49,7 @@ class P2PBlocksOnly(BitcoinTestFramework):
|
|
| 49 |
assert_equal(self.nodes[0].getmempoolinfo()['size'], 1)
|
| 50 |
|
| 51 |
self.log.info("Restarting node 0 with relay permission and blocksonly")
|
| 52 |
-
self.restart_node(0, ["-persistmempool=0", "-whitelist=relay@127.0.0.1", "-blocksonly"])
|
| 53 |
assert_equal(self.nodes[0].getrawmempool(), [])
|
| 54 |
first_peer = self.nodes[0].add_p2p_connection(P2PInterface())
|
| 55 |
second_peer = self.nodes[0].add_p2p_connection(P2PInterface())
|
|
|
|
| 49 |
assert_equal(self.nodes[0].getmempoolinfo()['size'], 1)
|
| 50 |
|
| 51 |
self.log.info("Restarting node 0 with relay permission and blocksonly")
|
| 52 |
+
self.restart_node(0, ["-persistmempool=0", "-whitelist=relay@127.0.0.1", "-blocksonly", '-peerbloomfilters=0'])
|
| 53 |
assert_equal(self.nodes[0].getrawmempool(), [])
|
| 54 |
first_peer = self.nodes[0].add_p2p_connection(P2PInterface())
|
| 55 |
second_peer = self.nodes[0].add_p2p_connection(P2PInterface())
|