diff options
| author | Sjors Provoost <[email protected]> | 2018-03-06 16:48:15 -0500 |
|---|---|---|
| committer | Sjors Provoost <[email protected]> | 2018-03-06 16:48:15 -0500 |
| commit | b156ff7c30175f5d23bde97a56a2c34af2196466 (patch) | |
| tree | 2dbaaf83b0c4b0692269ad762917d8feb48a02b2 /test/functional/rpc_bind.py | |
| parent | doc: Add historical release notes for 0.16.0 (diff) | |
| download | discoin-b156ff7c30175f5d23bde97a56a2c34af2196466.tar.xz discoin-b156ff7c30175f5d23bde97a56a2c34af2196466.zip | |
[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 05433c7e2..d43c2cd5d 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): |