test: Disable automatic connections by default
This prevents the node from trying to connect to random IPs on the internet while running the functional tests. Exceptions are added when required for the test to pass.
This commit is contained in:
1 parent
54e31742d2
commit
8ca51af1ec
4 files changed
+13
-6
No files matched your search
@@ -23,6 +23,7 @@ def check_node_connections(*, node, num_in, num_out):
|
||||
class AnchorsTest(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.num_nodes = 1
|
||||
self.disable_autoconnect = False
|
||||
|
||||
def setup_network(self):
|
||||
self.setup_nodes()
|
||||
|
||||
Reference in new issue
Block a user