Skip to content

Commit d09968f

Browse files
committed
Merge #12200: Bind functional test nodes to 127.0.0.1
65682da [tests] bind functional test nodes to 127.0.0.1 (Sjors Provoost) Pull request description: Prevents OSX firewall allow-this-application-to-accept-inbound-connections permission popups and is generally safer. To test, make an arbitrary whitespace change to `src/bitcoind.cpp` and recompile. This normally resets the firewall's memory. Easiest way to reproduce a popup without running the test suite: ```sh src/bitcoind -regtest -bind=127.0.0.1 # No popup src/bitcoind -regtest # Popup ``` Tree-SHA512: ffa92f148a2ead2ceca978c285882979639be23eb31ad6a27aa81df9fdddba5d493719c92c09a351a81d638f6f739c351a721e42168d77ead60abe074df773d6
2 parents fd65937 + 65682da commit d09968f

File tree

1 file changed

+1
-0
lines changed
  • test/functional/test_framework

1 file changed

+1
-0
lines changed

test/functional/test_framework/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ def initialize_datadir(dirname, n):
292292
f.write("port=" + str(p2p_port(n)) + "\n")
293293
f.write("rpcport=" + str(rpc_port(n)) + "\n")
294294
f.write("listenonion=0\n")
295+
f.write("bind=127.0.0.1\n")
295296
return datadir
296297

297298
def get_datadir_path(dirname, n):

0 commit comments

Comments
 (0)