contrib/localnet: DEP-0007: add network profiles to net setting section of the toml configs

This commit is contained in:
oars
2025-08-13 17:46:30 +03:00
parent 81bd50925c
commit 9cce43b5bf
24 changed files with 247 additions and 244 deletions

View File

@@ -50,11 +50,12 @@ rpc_listen = "tcp://127.0.0.1:48241"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48242"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Allow localnet hosts # Allow localnet hosts
localnet = true localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48242"]

View File

@@ -50,14 +50,15 @@ rpc_listen = "tcp://127.0.0.1:48341"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# Allow localnet hosts
localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections # P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48342"] inbound = ["tcp+tls://0.0.0.0:48342"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Peer nodes to manually connect to # Peer nodes to manually connect to
peers = ["tcp+tls://0.0.0.0:48242"] peers = ["tcp+tls://0.0.0.0:48242"]
# Allow localnet hosts
localnet = true

View File

@@ -50,14 +50,15 @@ rpc_listen = "tcp://127.0.0.1:48441"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# Allow localnet hosts
localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections # P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48442"] inbound = ["tcp+tls://0.0.0.0:48442"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Peer nodes to manually connect to # Peer nodes to manually connect to
peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342"] peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342"]
# Allow localnet hosts
localnet = true

View File

@@ -50,14 +50,15 @@ rpc_listen = "tcp://127.0.0.1:48541"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# Allow localnet hosts
localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections # P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48542"] inbound = ["tcp+tls://0.0.0.0:48542"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Peer nodes to manually connect to # Peer nodes to manually connect to
peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342", "tcp+tls://0.0.0.0:48442"] peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342", "tcp+tls://0.0.0.0:48442"]
# Allow localnet hosts
localnet = true

View File

@@ -50,14 +50,15 @@ rpc_listen = "tcp://127.0.0.1:48641"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# Allow localnet hosts
localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections # P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48642"] inbound = ["tcp+tls://0.0.0.0:48642"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Peer nodes to manually connect to # Peer nodes to manually connect to
peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342", "tcp+tls://0.0.0.0:48442", "tcp+tls://0.0.0.0:48542"] peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342", "tcp+tls://0.0.0.0:48442", "tcp+tls://0.0.0.0:48542"]
# Allow localnet hosts
localnet = true

View File

@@ -61,8 +61,12 @@ rpc_listen = "tcp://127.0.0.1:48241"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48242"]
# Allow localnet hosts # Allow localnet hosts
localnet = true localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48242"]

View File

@@ -50,11 +50,12 @@ rpc_listen = "tcp://127.0.0.1:48241"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48242"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Allow localnet hosts # Allow localnet hosts
localnet = true localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48242"]

View File

@@ -58,14 +58,15 @@ rpc_listen = "tcp://127.0.0.1:48341"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# Allow localnet hosts
localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections # P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48342"] inbound = ["tcp+tls://0.0.0.0:48342"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Peer nodes to manually connect to # Peer nodes to manually connect to
peers = ["tcp+tls://0.0.0.0:48242"] peers = ["tcp+tls://0.0.0.0:48242"]
# Allow localnet hosts
localnet = true

View File

@@ -45,14 +45,15 @@ rpc_listen = "tcp://127.0.0.1:48440"
## Localnet P2P network settings ## Localnet P2P network settings
[network_config."localnet".net] [network_config."localnet".net]
# Allow localnet hosts
localnet = true
# Whitelisted network transports for outbound connections
active_profiles = ["tcp+tls"]
[network_config."localnet".net.profiles."tcp+tls"]
# P2P accept addresses the instance listens on for inbound connections # P2P accept addresses the instance listens on for inbound connections
inbound = ["tcp+tls://0.0.0.0:48442"] inbound = ["tcp+tls://0.0.0.0:48442"]
# Whitelisted network transports for outbound connections
allowed_transports = ["tcp+tls"]
# Peer nodes to manually connect to # Peer nodes to manually connect to
peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342"] peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342"]
# Allow localnet hosts
localnet = true

View File

@@ -28,21 +28,22 @@ outbound_connections = 8
## Inbound connection slots ## Inbound connection slots
inbound_connections = 8 inbound_connections = 8
localnet = true
hostlist = "darkirc1/hostlist.tsv"
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
inbound = ["tcp://127.0.0.1:25552"] inbound = ["tcp://127.0.0.1:25552"]
external_addrs = ["tcp://127.0.0.1:25552"] external_addrs = ["tcp://127.0.0.1:25552"]
# peers = [] # peers = []
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
localnet = true
hostlist = "darkirc1/hostlist.tsv"
# #
# [channel."#dev"] # [channel."#dev"]
# topic = "DarkFi Development HQ" # topic = "DarkFi Development HQ"

View File

@@ -28,21 +28,22 @@ outbound_connections = 8
## Inbound connection slots ## Inbound connection slots
# inbound_connections = 8 # inbound_connections = 8
localnet = true
hostlist = "darkirc2/hostlist.tsv"
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
# inbound = ["tcp://127.0.0.1:25553"] # inbound = ["tcp://127.0.0.1:25553"]
# external_addrs = ["tcp://127.0.0.1:25553"] # external_addrs = ["tcp://127.0.0.1:25553"]
# peers = ["tcp://127.0.0.1:25552"] # peers = ["tcp://127.0.0.1:25552"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
localnet = true
hostlist = "darkirc2/hostlist.tsv"
# #
# [channel."#dev"] # [channel."#dev"]
# topic = "DarkFi Development HQ" # topic = "DarkFi Development HQ"

View File

@@ -28,21 +28,22 @@ outbound_connections = 8
## Inbound connection slots ## Inbound connection slots
# inbound_connections = 8 # inbound_connections = 8
localnet = true
hostlist = "darkirc3/hostlist.tsv"
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
# inbound = ["tcp://127.0.0.1:25554"] # inbound = ["tcp://127.0.0.1:25554"]
# external_addrs = ["tcp://127.0.0.1:25554"] # external_addrs = ["tcp://127.0.0.1:25554"]
# peers = ["tcp://127.0.0.1:25552"] # peers = ["tcp://127.0.0.1:25552"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
localnet = true
hostlist = "darkirc3/hostlist.tsv"
# #
# [channel."#dev"] # [channel."#dev"]
# topic = "DarkFi Development HQ" # topic = "DarkFi Development HQ"

View File

@@ -28,21 +28,22 @@ outbound_connections = 8
## Inbound connection slots ## Inbound connection slots
# inbound_connections = 8 # inbound_connections = 8
localnet = true
hostlist = "darkirc4/hostlist.tsv"
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
# inbound = ["tcp://127.0.0.1:25555"] # inbound = ["tcp://127.0.0.1:25555"]
# external_addrs = ["tcp://127.0.0.1:25555"] # external_addrs = ["tcp://127.0.0.1:25555"]
# peers = ["tcp://127.0.0.1:25554"] # peers = ["tcp://127.0.0.1:25554"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
localnet = true
hostlist = "darkirc4/hostlist.tsv"
# #
# [channel."#dev"] # [channel."#dev"]
# topic = "DarkFi Development HQ" # topic = "DarkFi Development HQ"

View File

@@ -34,17 +34,19 @@ rpc_listen = "tcp://127.0.0.1:8888"
## Inbound connection slots ## Inbound connection slots
inbound_connections = 8 inbound_connections = 8
## P2P accept addresses
inbound = ["tcp://127.0.0.1:25551"]
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
localnet = true localnet = true
hostlist = "seed/hostlist.tsv" hostlist = "seed/hostlist.tsv"
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## P2P accept addresses
inbound = ["tcp://127.0.0.1:25551"]
## Seed nodes to connect to ## Seed nodes to connect to
# seeds = ["tcp://127.0.0.1:25551", "tls://lilith1.dark.fi:25551"] # seeds = ["tcp://127.0.0.1:25551", "tls://lilith1.dark.fi:25551"]
# #
# [channel."#dev"] # [channel."#dev"]
# topic = "DarkFi Development HQ" # topic = "DarkFi Development HQ"

View File

@@ -9,6 +9,16 @@ rpc_listen = "tcp://127.0.0.1:51345"
#rpc_disabled_methods = ["p2p.get_info"] #rpc_disabled_methods = ["p2p.get_info"]
[net] [net]
## Outbound connect slots. Required for outbound nodes.
outbound_connections = 5
# Set to true if testing on localhost
localnet = true
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## P2P accept addresses Required for inbound nodes. ## P2P accept addresses Required for inbound nodes.
inbound=["tcp://127.0.0.1:31448"] inbound=["tcp://127.0.0.1:31448"]
@@ -17,12 +27,3 @@ external_addrs=["tcp://127.0.0.1:31448"]
## Seed nodes to connect to. Required for inbound and outbound nodes. ## Seed nodes to connect to. Required for inbound and outbound nodes.
seeds=["tcp://127.0.0.1:44448"] seeds=["tcp://127.0.0.1:44448"]
## Outbound connect slots. Required for outbound nodes.
outbound_connections = 5
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
# Set to true if testing on localhost
localnet = true

View File

@@ -9,6 +9,16 @@ rpc_listen = "tcp://127.0.0.1:52345"
#rpc_disabled_methods = ["p2p.get_info"] #rpc_disabled_methods = ["p2p.get_info"]
[net] [net]
## Outbound connect slots. Required for outbound nodes.
outbound_connections = 5
# Set to true if testing on localhost
localnet = true
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## P2P accept addresses Required for inbound nodes. ## P2P accept addresses Required for inbound nodes.
inbound=["tcp://127.0.0.1:32448"] inbound=["tcp://127.0.0.1:32448"]
@@ -17,12 +27,3 @@ external_addrs=["tcp://127.0.0.1:32448"]
## Seed nodes to connect to. Required for inbound and outbound nodes. ## Seed nodes to connect to. Required for inbound and outbound nodes.
seeds=["tcp://127.0.0.1:44448"] seeds=["tcp://127.0.0.1:44448"]
## Outbound connect slots. Required for outbound nodes.
outbound_connections = 5
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
# Set to true if testing on localhost
localnet = true

View File

@@ -9,6 +9,16 @@ rpc_listen = "tcp://127.0.0.1:53345"
#rpc_disabled_methods = ["p2p.get_info"] #rpc_disabled_methods = ["p2p.get_info"]
[net] [net]
## Outbound connect slots. Required for outbound nodes.
outbound_connections = 5
# Set to true if testing on localhost
localnet = true
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## P2P accept addresses Required for inbound nodes. ## P2P accept addresses Required for inbound nodes.
inbound=["tcp://127.0.0.1:33448"] inbound=["tcp://127.0.0.1:33448"]
@@ -17,12 +27,3 @@ external_addrs=["tcp://127.0.0.1:33448"]
## Seed nodes to connect to. Required for inbound and outbound nodes. ## Seed nodes to connect to. Required for inbound and outbound nodes.
seeds=["tcp://127.0.0.1:44448"] seeds=["tcp://127.0.0.1:44448"]
## Outbound connect slots. Required for outbound nodes.
outbound_connections = 5
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
# Set to true if testing on localhost
localnet = true

View File

@@ -9,6 +9,16 @@ rpc_listen = "tcp://127.0.0.1:54325"
#rpc_disabled_methods = ["p2p.get_info"] #rpc_disabled_methods = ["p2p.get_info"]
[net] [net]
## Outbound connect slots. Required for outbound nodes.
outbound_connections = 5
# Set to true if testing on localhost
localnet = true
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## P2P accept addresses Required for inbound nodes. ## P2P accept addresses Required for inbound nodes.
inbound=["tcp://127.0.0.1:35448"] inbound=["tcp://127.0.0.1:35448"]
@@ -17,12 +27,3 @@ external_addrs=["tcp://127.0.0.1:35448"]
## Seed nodes to connect to. Required for inbound and outbound nodes. ## Seed nodes to connect to. Required for inbound and outbound nodes.
seeds=["tcp://127.0.0.1:44448"] seeds=["tcp://127.0.0.1:44448"]
## Outbound connect slots. Required for outbound nodes.
outbound_connections = 5
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
# Set to true if testing on localhost
localnet = true

View File

@@ -9,11 +9,12 @@ rpc_listen = "tcp://127.0.0.1:54448"
#rpc_disabled_methods = ["p2p.get_info"] #rpc_disabled_methods = ["p2p.get_info"]
[net] [net]
## P2P accept addresses Required for inbound nodes.
inbound=["tcp://127.0.0.1:44448"]
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
# Set to true if testing on localhost # Set to true if testing on localhost
localnet = true localnet = true
# Prefered transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## P2P accept addresses Required for inbound nodes.
inbound=["tcp://127.0.0.1:44448"]

View File

@@ -56,9 +56,6 @@ rpc_listen = "tcp://127.0.0.1:23340"
# Path to a configured hostlist for saving known peers # Path to a configured hostlist for saving known peers
hostlist = "seed/hostlist.tsv" hostlist = "seed/hostlist.tsv"
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23331"]
## Outbound connection slots ## Outbound connection slots
#outbound_connections = 8 #outbound_connections = 8
@@ -71,29 +68,6 @@ inbound_connections = 8
## White connection percent ## White connection percent
#white_connect_percent = 70 #white_connect_percent = 70
## Addresses we want to advertise to peers (optional)
## These should be reachable externally
# external_addrs = ["tcp://127.0.0.1:23331"]
## Seed nodes to connect to
# seeds = [
#"tcp+tls://lilith0.dark.fi:5363",
# "tcp+tls://lilith1.dark.fi:5363",
# "tor://rwjgdy7bs4e3eamgltccea7p5yzz3alfi2vps2xefnihurbmpd3b7hqd.onion:5362"
# "tor://f5mldz3utfrj5esn7vy7osa6itusotix6nsjhv4uirshkcvgglb3xdqd.onion:5362"
# ]
## Manual peers to connect to
#peers = []
# Whitelisted transports for outbound connections
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# 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 localnet = true
# Nodes to avoid interacting with for the duration of the program, in the # Nodes to avoid interacting with for the duration of the program, in the
@@ -101,3 +75,25 @@ localnet = true
# If scheme is left empty it will default to "tcp+tls". # If scheme is left empty it will default to "tcp+tls".
# If ports are left empty all ports from this peer will be blocked. # If ports are left empty all ports from this peer will be blocked.
#blacklist = [["example.com", ["tcp"], [8551, 23331]]] #blacklist = [["example.com", ["tcp"], [8551, 23331]]]
# Whitelisted transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23331"]
## Addresses we want to advertise to peers (optional)
## These should be reachable externally
# external_addrs = ["tcp://127.0.0.1:23331"]
## Seed nodes to connect to
# seeds = [
#"tcp+tls://lilith0.dark.fi:5363",
# "tcp+tls://lilith1.dark.fi:5363",
# "tor://rwjgdy7bs4e3eamgltccea7p5yzz3alfi2vps2xefnihurbmpd3b7hqd.onion:5362"
# "tor://f5mldz3utfrj5esn7vy7osa6itusotix6nsjhv4uirshkcvgglb3xdqd.onion:5362"
# ]
## Manual peers to connect to
#peers = []

View File

@@ -56,9 +56,6 @@ rpc_listen = "tcp://127.0.0.1:23341"
# Path to a configured hostlist for saving known peers # Path to a configured hostlist for saving known peers
hostlist = "taud1/hostlist.tsv" hostlist = "taud1/hostlist.tsv"
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23332"]
## Outbound connection slots ## Outbound connection slots
outbound_connections = 8 outbound_connections = 8
@@ -71,24 +68,6 @@ inbound_connections = 8
## White connection percent ## White connection percent
#white_connect_percent = 70 #white_connect_percent = 70
## Addresses we want to advertise to peers (optional)
## These should be reachable externally
external_addrs = ["tcp://127.0.0.1:23332"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:23331"]
## Manual peers to connect to
#peers = []
# Whitelisted transports for outbound connections
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# 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 localnet = true
# Nodes to avoid interacting with for the duration of the program, in the # Nodes to avoid interacting with for the duration of the program, in the
@@ -96,3 +75,20 @@ localnet = true
# If scheme is left empty it will default to "tcp+tls". # If scheme is left empty it will default to "tcp+tls".
# If ports are left empty all ports from this peer will be blocked. # If ports are left empty all ports from this peer will be blocked.
#blacklist = [["example.com", ["tcp"], [8551, 23331]]] #blacklist = [["example.com", ["tcp"], [8551, 23331]]]
# Whitelisted transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:23331"]
## Manual peers to connect to
#peers = []
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23332"]
## Addresses we want to advertise to peers (optional)
## These should be reachable externally
external_addrs = ["tcp://127.0.0.1:23332"]

View File

@@ -56,9 +56,6 @@ rpc_listen = "tcp://127.0.0.1:23342"
# Path to a configured hostlist for saving known peers # Path to a configured hostlist for saving known peers
hostlist = "taud2/hostlist.tsv" hostlist = "taud2/hostlist.tsv"
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23333"]
## Outbound connection slots ## Outbound connection slots
outbound_connections = 8 outbound_connections = 8
@@ -71,24 +68,6 @@ outbound_connections = 8
## White connection percent ## White connection percent
#white_connect_percent = 70 #white_connect_percent = 70
## Addresses we want to advertise to peers (optional)
## These should be reachable externally
external_addrs = ["tcp://127.0.0.1:23333"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:23331"]
## Manual peers to connect to
#peers = []
# Whitelisted transports for outbound connections
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# 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 localnet = true
# Nodes to avoid interacting with for the duration of the program, in the # Nodes to avoid interacting with for the duration of the program, in the
@@ -96,3 +75,20 @@ localnet = true
# If scheme is left empty it will default to "tcp+tls". # If scheme is left empty it will default to "tcp+tls".
# If ports are left empty all ports from this peer will be blocked. # If ports are left empty all ports from this peer will be blocked.
#blacklist = [["example.com", ["tcp"], [8551, 23331]]] #blacklist = [["example.com", ["tcp"], [8551, 23331]]]
# Whitelisted transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:23331"]
## Manual peers to connect to
#peers = []
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23333"]
## Addresses we want to advertise to peers (optional)
## These should be reachable externally
external_addrs = ["tcp://127.0.0.1:23333"]

View File

@@ -56,9 +56,6 @@ rpc_listen = "tcp://127.0.0.1:23343"
# Path to a configured hostlist for saving known peers # Path to a configured hostlist for saving known peers
hostlist = "taud3/hostlist.tsv" hostlist = "taud3/hostlist.tsv"
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23334"]
## Outbound connection slots ## Outbound connection slots
outbound_connections = 8 outbound_connections = 8
@@ -71,24 +68,6 @@ outbound_connections = 8
## White connection percent ## White connection percent
#white_connect_percent = 70 #white_connect_percent = 70
## Addresses we want to advertise to peers (optional)
## These should be reachable externally
external_addrs = ["tcp://127.0.0.1:23334"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:23331"]
## Manual peers to connect to
#peers = []
# Whitelisted transports for outbound connections
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# 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 localnet = true
# Nodes to avoid interacting with for the duration of the program, in the # Nodes to avoid interacting with for the duration of the program, in the
@@ -96,3 +75,20 @@ localnet = true
# If scheme is left empty it will default to "tcp+tls". # If scheme is left empty it will default to "tcp+tls".
# If ports are left empty all ports from this peer will be blocked. # If ports are left empty all ports from this peer will be blocked.
#blacklist = [["example.com", ["tcp"], [8551, 23331]]] #blacklist = [["example.com", ["tcp"], [8551, 23331]]]
# Whitelisted transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:23331"]
## Manual peers to connect to
#peers = []
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23334"]
## Addresses we want to advertise to peers (optional)
## These should be reachable externally
external_addrs = ["tcp://127.0.0.1:23334"]

View File

@@ -56,9 +56,6 @@ rpc_listen = "tcp://127.0.0.1:23344"
# Path to a configured hostlist for saving known peers # Path to a configured hostlist for saving known peers
hostlist = "taud4/hostlist.tsv" hostlist = "taud4/hostlist.tsv"
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23335"]
## Outbound connection slots ## Outbound connection slots
outbound_connections = 8 outbound_connections = 8
@@ -71,6 +68,21 @@ outbound_connections = 8
## White connection percent ## White connection percent
#white_connect_percent = 70 #white_connect_percent = 70
localnet = true
# Nodes to avoid interacting with for the duration of the program, in the
# format ["host", ["scheme", "scheme"], [port, port]].
# If scheme is left empty it will default to "tcp+tls".
# If ports are left empty all ports from this peer will be blocked.
#blacklist = [["example.com", ["tcp"], [8551, 23331]]]
# Whitelisted transports for outbound connections
active_profiles = ["tcp"]
[net.profiles."tcp"]
## P2P accept addresses
inbound = ["tcp://127.0.0.1:23335"]
## Addresses we want to advertise to peers (optional) ## Addresses we want to advertise to peers (optional)
## These should be reachable externally ## These should be reachable externally
external_addrs = ["tcp://127.0.0.1:23335"] external_addrs = ["tcp://127.0.0.1:23335"]
@@ -79,20 +91,4 @@ external_addrs = ["tcp://127.0.0.1:23335"]
seeds = ["tcp://127.0.0.1:23331"] seeds = ["tcp://127.0.0.1:23331"]
## Manual peers to connect to ## Manual peers to connect to
#peers = [] #peers = []
# Whitelisted transports for outbound connections
allowed_transports = ["tcp"]
#allowed_transports = ["tor"]
# 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
# Nodes to avoid interacting with for the duration of the program, in the
# format ["host", ["scheme", "scheme"], [port, port]].
# If scheme is left empty it will default to "tcp+tls".
# If ports are left empty all ports from this peer will be blocked.
#blacklist = [["example.com", ["tcp"], [8551, 23331]]]