v29.4-roots.3 · Commit 3: [PATCH 03/30] 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. The two line-number columns refer to before and after.
test/functional/p2p_blocksonly.py
CHANGED
|
@@ -49,7 +49,7 @@ class P2PBlocksOnly(BitcoinTestFramework):
|
|
|
49
49
|
assert_equal(self.nodes[0].getmempoolinfo()['size'], 1)
|
|
50
50
|
|
|
51
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"])
|
|
52
|
+
self.restart_node(0, ["-persistmempool=0", "-whitelist=relay@127.0.0.1", "-blocksonly", '-peerbloomfilters=0'])
|
|
53
53
|
assert_equal(self.nodes[0].getrawmempool(), [])
|
|
54
54
|
first_peer = self.nodes[0].add_p2p_connection(P2PInterface())
|
|
55
55
|
second_peer = self.nodes[0].add_p2p_connection(P2PInterface())
|