mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
[tests] bind functional test nodes to 127.0.0.1
This commit is contained in:
parent
cad504bf4c
commit
65682da7e5
@ -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…
Reference in New Issue
Block a user