mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 22:57:59 -05:00
bin/genev: DEP-0007: add network profiles to net setting section of the toml configs
This commit is contained in:
@@ -21,27 +21,21 @@ rpc_disabled_methods = ["p2p.get_info"]
|
|||||||
|
|
||||||
## net settings
|
## net settings
|
||||||
[net]
|
[net]
|
||||||
## P2P accept addresses
|
|
||||||
#inbound = ["tcp://127.0.0.1:28881"]
|
|
||||||
|
|
||||||
## Connection slots
|
## Connection slots
|
||||||
outbound_connections = 8
|
outbound_connections = 8
|
||||||
|
|
||||||
|
# Prefered transports for outbound connections
|
||||||
|
active_profiles = ["tcp+tls"]
|
||||||
|
|
||||||
|
[net.profiles."tcp+tls"]
|
||||||
|
## P2P accept addresses
|
||||||
|
#inbound = ["tcp+tls://127.0.0.1:28881"]
|
||||||
|
|
||||||
## P2P external addresses
|
## P2P external addresses
|
||||||
#external_addr = ["tls://127.0.0.1:28881"]
|
#external_addr = ["tcp+tls://127.0.0.1:28881"]
|
||||||
|
|
||||||
## Peers to connect to
|
## Peers to connect to
|
||||||
#peers = ["tls://127.0.0.1:28881"]
|
#peers = ["tcp+tls://127.0.0.1:28881"]
|
||||||
|
|
||||||
## Seed nodes to connect to
|
## Seed nodes to connect to
|
||||||
seeds = ["tls://lilith0.dark.fi:28881", "tls://lilith1.dark.fi:28881"]
|
#seeds = []
|
||||||
|
|
||||||
# Prefered transports for outbound connections
|
|
||||||
#transports = ["tls", "tcp"]
|
|
||||||
|
|
||||||
## these are the default configuration for the p2p network
|
|
||||||
#manual_attempt_limit=0
|
|
||||||
#seed_query_timeout_seconds=8
|
|
||||||
#connect_timeout_seconds=10
|
|
||||||
#channel_handshake_seconds=4
|
|
||||||
#channel_heartbeat_seconds=10
|
|
||||||
@@ -14,15 +14,19 @@ rpc_disabled_methods = ["p2p.get_info"]
|
|||||||
|
|
||||||
## net settings
|
## net settings
|
||||||
[net]
|
[net]
|
||||||
## P2P accept addresses
|
|
||||||
inbound = ["tcp://127.0.0.1:28882"]
|
|
||||||
|
|
||||||
## Connection slots
|
## Connection slots
|
||||||
outbound_connections = 4
|
outbound_connections = 4
|
||||||
|
|
||||||
## Inbound connection slots
|
## Inbound connection slots
|
||||||
inbound_connections = 4
|
inbound_connections = 4
|
||||||
|
|
||||||
|
# Prefered transports for outbound connections
|
||||||
|
active_profiles = ["tcp"]
|
||||||
|
|
||||||
|
[net.profiles."tcp"]
|
||||||
|
## P2P accept addresses
|
||||||
|
inbound = ["tcp://127.0.0.1:28882"]
|
||||||
|
|
||||||
## P2P external addresses
|
## P2P external addresses
|
||||||
external_addrs = ["tcp://127.0.0.1:28882"]
|
external_addrs = ["tcp://127.0.0.1:28882"]
|
||||||
|
|
||||||
@@ -31,13 +35,3 @@ external_addrs = ["tcp://127.0.0.1:28882"]
|
|||||||
|
|
||||||
## Seed nodes to connect to
|
## Seed nodes to connect to
|
||||||
seeds = ["tcp://127.0.0.1:28881"]
|
seeds = ["tcp://127.0.0.1:28881"]
|
||||||
|
|
||||||
# Prefered transports for outbound connections
|
|
||||||
allowed_transports = ["tcp"]
|
|
||||||
|
|
||||||
## these are the default configuration for the p2p network
|
|
||||||
#manual_attempt_limit=0
|
|
||||||
#seed_query_timeout_seconds=8
|
|
||||||
#connect_timeout_seconds=10
|
|
||||||
#channel_handshake_seconds=4
|
|
||||||
#channel_heartbeat_seconds=10
|
|
||||||
|
|||||||
@@ -14,15 +14,19 @@ rpc_disabled_methods = ["p2p.get_info"]
|
|||||||
|
|
||||||
## net settings
|
## net settings
|
||||||
[net]
|
[net]
|
||||||
## P2P accept addresses
|
|
||||||
inbound = ["tcp://127.0.0.1:28883"]
|
|
||||||
|
|
||||||
## Connection slots
|
## Connection slots
|
||||||
outbound_connections = 4
|
outbound_connections = 4
|
||||||
|
|
||||||
## Inbound connection slots
|
## Inbound connection slots
|
||||||
inbound_connections = 4
|
inbound_connections = 4
|
||||||
|
|
||||||
|
# Prefered transports for outbound connections
|
||||||
|
active_profiles = ["tcp"]
|
||||||
|
|
||||||
|
[net.profiles."tcp"]
|
||||||
|
## P2P accept addresses
|
||||||
|
inbound = ["tcp://127.0.0.1:28883"]
|
||||||
|
|
||||||
## P2P external addresses
|
## P2P external addresses
|
||||||
external_addrs = ["tcp://127.0.0.1:28883"]
|
external_addrs = ["tcp://127.0.0.1:28883"]
|
||||||
|
|
||||||
@@ -31,13 +35,3 @@ external_addrs = ["tcp://127.0.0.1:28883"]
|
|||||||
|
|
||||||
## Seed nodes to connect to
|
## Seed nodes to connect to
|
||||||
seeds = ["tcp://127.0.0.1:28881"]
|
seeds = ["tcp://127.0.0.1:28881"]
|
||||||
|
|
||||||
# Prefered transports for outbound connections
|
|
||||||
allowed_transports = ["tcp"]
|
|
||||||
|
|
||||||
## these are the default configuration for the p2p network
|
|
||||||
#manual_attempt_limit=0
|
|
||||||
#seed_query_timeout_seconds=8
|
|
||||||
#connect_timeout_seconds=10
|
|
||||||
#channel_handshake_seconds=4
|
|
||||||
#channel_heartbeat_seconds=10
|
|
||||||
|
|||||||
@@ -14,15 +14,19 @@ rpc_disabled_methods = ["p2p.get_info"]
|
|||||||
|
|
||||||
## net settings
|
## net settings
|
||||||
[net]
|
[net]
|
||||||
## P2P accept addresses
|
|
||||||
inbound = ["tcp://127.0.0.1:28884"]
|
|
||||||
|
|
||||||
## Connection slots
|
## Connection slots
|
||||||
outbound_connections = 4
|
outbound_connections = 4
|
||||||
|
|
||||||
## Inbound connection slots
|
## Inbound connection slots
|
||||||
# inbound_connections = 4
|
# inbound_connections = 4
|
||||||
|
|
||||||
|
# Prefered transports for outbound connections
|
||||||
|
active_profiles = ["tcp"]
|
||||||
|
|
||||||
|
[net.profiles."tcp"]
|
||||||
|
## P2P accept addresses
|
||||||
|
inbound = ["tcp://127.0.0.1:28884"]
|
||||||
|
|
||||||
## P2P external addresses
|
## P2P external addresses
|
||||||
external_addrs = ["tcp://127.0.0.1:28884"]
|
external_addrs = ["tcp://127.0.0.1:28884"]
|
||||||
|
|
||||||
@@ -31,13 +35,3 @@ external_addrs = ["tcp://127.0.0.1:28884"]
|
|||||||
|
|
||||||
## Seed nodes to connect to
|
## Seed nodes to connect to
|
||||||
seeds = ["tcp://127.0.0.1:28881"]
|
seeds = ["tcp://127.0.0.1:28881"]
|
||||||
|
|
||||||
# Prefered transports for outbound connections
|
|
||||||
allowed_transports = ["tcp"]
|
|
||||||
|
|
||||||
## these are the default configuration for the p2p network
|
|
||||||
#manual_attempt_limit=0
|
|
||||||
#seed_query_timeout_seconds=8
|
|
||||||
#connect_timeout_seconds=10
|
|
||||||
#channel_handshake_seconds=4
|
|
||||||
#channel_heartbeat_seconds=10
|
|
||||||
|
|||||||
@@ -14,15 +14,19 @@ rpc_disabled_methods = ["p2p.get_info"]
|
|||||||
|
|
||||||
## net settings
|
## net settings
|
||||||
[net]
|
[net]
|
||||||
## P2P accept addresses
|
|
||||||
inbound = ["tcp://127.0.0.1:28885"]
|
|
||||||
|
|
||||||
## Connection slots
|
## Connection slots
|
||||||
outbound_connections = 4
|
outbound_connections = 4
|
||||||
|
|
||||||
## Inbound connection slots
|
## Inbound connection slots
|
||||||
# inbound_connections = 4
|
# inbound_connections = 4
|
||||||
|
|
||||||
|
# Prefered transports for outbound connections
|
||||||
|
active_profiles = ["tcp"]
|
||||||
|
|
||||||
|
[net.profiles."tcp"]
|
||||||
|
## P2P accept addresses
|
||||||
|
inbound = ["tcp://127.0.0.1:28885"]
|
||||||
|
|
||||||
## P2P external addresses
|
## P2P external addresses
|
||||||
external_addrs = ["tcp://127.0.0.1:28885"]
|
external_addrs = ["tcp://127.0.0.1:28885"]
|
||||||
|
|
||||||
@@ -31,13 +35,3 @@ external_addrs = ["tcp://127.0.0.1:28885"]
|
|||||||
|
|
||||||
## Seed nodes to connect to
|
## Seed nodes to connect to
|
||||||
seeds = ["tcp://127.0.0.1:28881"]
|
seeds = ["tcp://127.0.0.1:28881"]
|
||||||
|
|
||||||
# Prefered transports for outbound connections
|
|
||||||
allowed_transports = ["tcp"]
|
|
||||||
|
|
||||||
## these are the default configuration for the p2p network
|
|
||||||
#manual_attempt_limit=0
|
|
||||||
#seed_query_timeout_seconds=8
|
|
||||||
#connect_timeout_seconds=10
|
|
||||||
#channel_handshake_seconds=4
|
|
||||||
#channel_heartbeat_seconds=10
|
|
||||||
|
|||||||
@@ -14,15 +14,19 @@ rpc_disabled_methods = ["p2p.get_info"]
|
|||||||
|
|
||||||
## net settings
|
## net settings
|
||||||
[net]
|
[net]
|
||||||
## P2P accept addresses
|
|
||||||
inbound = ["tcp://127.0.0.1:28881"]
|
|
||||||
|
|
||||||
## Connection slots
|
## Connection slots
|
||||||
# outbound_connections=8
|
# outbound_connections=8
|
||||||
|
|
||||||
## Inbound connection slots
|
## Inbound connection slots
|
||||||
inbound_connections = 4
|
inbound_connections = 4
|
||||||
|
|
||||||
|
# Prefered transports for outbound connections
|
||||||
|
active_profiles = ["tcp"]
|
||||||
|
|
||||||
|
[net.profiles."tcp"]
|
||||||
|
## P2P accept addresses
|
||||||
|
inbound = ["tcp://127.0.0.1:28881"]
|
||||||
|
|
||||||
## P2P external addresses
|
## P2P external addresses
|
||||||
# external_addr = ["tls://127.0.0.1:28881"]
|
# external_addr = ["tls://127.0.0.1:28881"]
|
||||||
|
|
||||||
@@ -31,13 +35,3 @@ inbound_connections = 4
|
|||||||
|
|
||||||
## Seed nodes to connect to
|
## Seed nodes to connect to
|
||||||
# seeds=["tls://lilith0.dark.fi:28881", "tls://lilith1.dark.fi:28881"]
|
# seeds=["tls://lilith0.dark.fi:28881", "tls://lilith1.dark.fi:28881"]
|
||||||
|
|
||||||
# Prefered transports for outbound connections
|
|
||||||
allowed_transports = ["tcp"]
|
|
||||||
|
|
||||||
## these are the default configuration for the p2p network
|
|
||||||
#manual_attempt_limit=0
|
|
||||||
#seed_query_timeout_seconds=8
|
|
||||||
#connect_timeout_seconds=10
|
|
||||||
#channel_handshake_seconds=4
|
|
||||||
#channel_heartbeat_seconds=10
|
|
||||||
|
|||||||
Reference in New Issue
Block a user