diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2018-03-06 16:48:15 -0500 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2018-03-06 16:48:15 -0500 |
commit | b156ff7c30175f5d23bde97a56a2c34af2196466 (patch) | |
tree | 2dbaaf83b0c4b0692269ad762917d8feb48a02b2 /test/functional/rpc_bind.py | |
parent | d3f4dd313e5fe58903caf2f4d04827e7f7944e17 (diff) |
[tests] bind functional test nodes to 127.0.0.1
Prevents OSX firewall allow-this-application-to-accept-inbound-connections
permission popups and is generally safer.
To prevent binding to 127.0.0.1, set self.bind_to_localhost_only = False.
Diffstat (limited to 'test/functional/rpc_bind.py')
-rwxr-xr-x | test/functional/rpc_bind.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/rpc_bind.py b/test/functional/rpc_bind.py index 05433c7e24..d43c2cd5d0 100755 --- a/test/functional/rpc_bind.py +++ b/test/functional/rpc_bind.py @@ -14,6 +14,7 @@ from test_framework.netutil import * class RPCBindTest(BitcoinTestFramework): def set_test_params(self): self.setup_clean_chain = True + self.bind_to_localhost_only = False self.num_nodes = 1 def setup_network(self): |