v31.1-roots.1 · Commit 5: [PATCH 05/17] feat(net): preserve Roots peer controls and health view on v31
test/functional/p2p_feefilter.py
Before: test/functional/p2p_feefilter.py · After: test/functional/p2p_feefilter.py
File metadata
index 927ef878e1cc923545dcf3c76264b84f081caf52..1256707d63d2d0b3ca1c208f9f0b26be5a2a1d8c 100755
Download original patch · Release notes
Diff rows 1–9 of 9. 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_feefilter.py
CHANGED
|
@@ -62,6 +62,9 @@ class FeeFilterTest(BitcoinTestFramework):
|
|
|
62
62
|
self.test_feefilter_forcerelay()
|
|
63
63
|
self.test_feefilter()
|
|
64
64
|
self.test_feefilter_blocksonly()
|
|
65
|
+
self.log.info("Explicit -feefilter=0 suppresses local announcements")
|
|
66
|
+
self.restart_node(0, self.extra_args[0] + ['-feefilter=0'])
|
|
67
|
+
self.nodes[0].add_p2p_connection(FeefilterConn()).assert_feefilter_received(False)
|
|
65
68
|
|
|
66
69
|
def test_feefilter_forcerelay(self):
|
|
67
70
|
self.log.info('Check that peers without forcerelay permission (default) get a feefilter message')
|