darkirc, darkfid, taud, damd configs: change boolean transport_mixing field to mixed_transport list

This commit is contained in:
oars
2025-03-14 14:35:49 +03:00
parent 9743cc1d41
commit a29f9b40a6
13 changed files with 43 additions and 45 deletions

View File

@@ -106,8 +106,9 @@ seeds = ["tcp+tls://lilith0.dark.fi:8342", "tcp+tls://lilith1.dark.fi:8342"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
#transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
#mixed_transports = []
# Tor Socks5 proxy
#tor_socks5_proxy = "socks5://127.0.0.1:9050"
@@ -237,8 +238,9 @@ seeds = ["tcp+tls://lilith0.dark.fi:8442", "tcp+tls://lilith1.dark.fi:8442"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
#transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
#mixed_transports = []
# Tor Socks5 proxy
#tor_socks5_proxy = "socks5://127.0.0.1:9050"
@@ -369,8 +371,9 @@ hostlist = "~/.local/share/darkfi/darkfid/localnet/p2p_hostlist.tsv"
# Whitelisted network transports for outbound connections
#allowed_transports = ["tcp+tls"]
# Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
#transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
#mixed_transports = []
# Tor Socks5 proxy
#tor_socks5_proxy = "socks5://127.0.0.1:9050"

View File

@@ -35,5 +35,5 @@ outbound_connections = 8
## Inbound connection slots
inbound_connections = 64
## Enable transport mixing
transport_mixing = false
## Transports to be mixed
mixed_transports = []

View File

@@ -24,7 +24,7 @@ channel_heartbeat_interval = 90
outbound_peer_discovery_cooloff_time = 60
## Whitelisted transports for outbound connections
allowed_transports = ["tcp+tls", "tor"]
allowed_transports = ["tcp+tls", "tor", "tor+tls"]
## Addresses we want to advertise to peers
external_addrs = ["tcp+tls://MY_IP_V4:26661", "tcp+tls://MY_IP_V6:26661", "tcp+tls://my.resolveable.address:26661", "tor://youraddress.onion:25551"]
@@ -45,5 +45,5 @@ outbound_connections = 8
## Inbound connection slots
inbound_connections = 64
## Enable transport mixing
transport_mixing = true
## Transports to be mixed
mixed_transports = ["tcp", "tcp+tls"]

View File

@@ -44,5 +44,5 @@ outbound_connections = 8
## Inbound connection slots
inbound_connections = 64
## Enable transport mixing
transport_mixing = false
## Transports to be mixed
mixed_transports = []

View File

@@ -94,10 +94,9 @@ allowed_transports = ["tcp+tls"]
#allowed_transports = ["tor"]
#allowed_transports = ["tor", "tor+tls"]
# Enable transport mixing
# Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
# By default this is not allowed.
transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
mixed_transports = []
# Tor Socks5 proxy
#tor_socks5_proxy = "socks5://127.0.0.1:9050"

View File

@@ -95,10 +95,9 @@ allowed_transports = ["tcp+tls"]
#allowed_transports = ["tor"]
#allowed_transports = ["tor", "tor+tls"]
# Enable transport mixing
# Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
# By default this is not allowed.
transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
mixed_transports = []
# Tor Socks5 proxy
#tor_socks5_proxy = "socks5://127.0.0.1:9050"

View File

@@ -90,10 +90,9 @@ inbound_connections = 8
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# Enable transport mixing
# Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
# By default this is not allowed.
transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
mixed_transports = []
localnet = true

View File

@@ -85,10 +85,9 @@ seeds = ["tcp://127.0.0.1:23331"]
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# Enable transport mixing
# Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
# By default this is not allowed.
transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
mixed_transports = []
localnet = true

View File

@@ -85,10 +85,9 @@ seeds = ["tcp://127.0.0.1:23331"]
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# Enable transport mixing
# Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
# By default this is not allowed.
transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
mixed_transports = []
localnet = true

View File

@@ -85,10 +85,9 @@ seeds = ["tcp://127.0.0.1:23331"]
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# Enable transport mixing
# Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
# By default this is not allowed.
transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
mixed_transports = []
localnet = true

View File

@@ -85,10 +85,9 @@ seeds = ["tcp://127.0.0.1:23331"]
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# Enable transport mixing
# Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
# By default this is not allowed.
transport_mixing = false
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
mixed_transports = []
localnet = true

View File

@@ -39,8 +39,9 @@ hostlist = "~/.local/share/darkfi/damd/p2p_hostlist.tsv"
# Whitelisted network transports for outbound connections
#allowed_transports = ["tcp+tls"]
# Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
#transport_mixing = true
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
#mixed_transports = []
# Outbound connection slots number, this many connections will be
# attempted. (This does not include manual connections)

View File

@@ -25,8 +25,9 @@ inbound = ["tcp+tls://0.0.0.0:38967"]
# Whitelisted network transports for outbound connections
#allowed_transports = ["tcp+tls"]
# Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
#transport_mixing = true
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
# if tcp is added to mixed_transports and tor is added to allowed_transports)
#mixed_transports = []
# Outbound connection slots number, this many connections will be
# attempted. (This does not include manual connections)