aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_bind.py
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2018-03-06 16:48:15 -0500
committerSjors Provoost <sjors@sprovoost.nl>2018-03-06 16:48:15 -0500
commitb156ff7c30175f5d23bde97a56a2c34af2196466 (patch)
tree2dbaaf83b0c4b0692269ad762917d8feb48a02b2 /test/functional/rpc_bind.py
parentd3f4dd313e5fe58903caf2f4d04827e7f7944e17 (diff)
downloadbitcoin-b156ff7c30175f5d23bde97a56a2c34af2196466.tar.xz
[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-xtest/functional/rpc_bind.py1
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):