mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
[tests] bind functional test nodes to 127.0.0.1
This commit is contained in:
parent
cad504bf4c
commit
65682da7e5
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@ def initialize_datadir(dirname, n):
|
||||||
f.write("port=" + str(p2p_port(n)) + "\n")
|
f.write("port=" + str(p2p_port(n)) + "\n")
|
||||||
f.write("rpcport=" + str(rpc_port(n)) + "\n")
|
f.write("rpcport=" + str(rpc_port(n)) + "\n")
|
||||||
f.write("listenonion=0\n")
|
f.write("listenonion=0\n")
|
||||||
|
f.write("bind=127.0.0.1\n")
|
||||||
return datadir
|
return datadir
|
||||||
|
|
||||||
def get_datadir_path(dirname, n):
|
def get_datadir_path(dirname, n):
|
||||||
|
|
Loading…
Add table
Reference in a new issue