mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-11 07:38:03 -05:00
66 lines
2.0 KiB
TOML
66 lines
2.0 KiB
TOML
## generic node configuration file
|
|
##
|
|
## Please make sure you go through all the settings so you can configure
|
|
## your daemon properly.
|
|
##
|
|
## The default values are left commented. They can be overridden either by
|
|
## uncommenting, or by using the command-line.
|
|
|
|
## P2P network settings
|
|
[net]
|
|
# Outbound connection slots number, this many connections will be
|
|
# attempted. (This does not include manual connections)
|
|
#outbound_connections = 8
|
|
|
|
# Inbound connections slots number, this many active inbound connections
|
|
# will be allowed. (This does not include manual or outbound connections)
|
|
#inbound_connections = 8
|
|
|
|
## White connection percent
|
|
# gold_connect_count = 2
|
|
|
|
## White connection percent
|
|
# white_connect_percent = 70
|
|
|
|
# Manual connections retry limit, 0 for forever looping
|
|
#manual_attempt_limit = 0
|
|
|
|
# Allow localnet hosts
|
|
localnet = true
|
|
|
|
# Cooling off time for peer discovery when unsuccessful
|
|
#outbound_peer_discovery_cooloff_time = 30
|
|
|
|
# Time between peer discovery attempts
|
|
#outbound_peer_discovery_attempt_time = 5
|
|
|
|
# Whitelisted network transports for outbound connections
|
|
#active_profiles = ["tcp+tls"]
|
|
|
|
# Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
|
|
# if tcp is added to mixed_profiles and tor is added to active_profiles)
|
|
#mixed_profiles = []
|
|
|
|
[net.profiles."tcp+tls"]
|
|
# P2P accept addresses the instance listens on for inbound connections
|
|
inbound = ["tcp+tls://0.0.0.0:38967"]
|
|
|
|
# P2P external addresses the instance advertises so other peers can
|
|
# reach us and connect to us, as long as inbound addrs are configured.
|
|
#external_addrs = []
|
|
|
|
# Peer nodes to manually connect to
|
|
#peers = []
|
|
|
|
# Seed nodes to connect to for peer discovery and/or adversising our
|
|
# own external addresses
|
|
#seeds = []
|
|
|
|
# Outbound connection timeout (in seconds)
|
|
#outbound_connect_timeout = 10
|
|
|
|
# Exchange versions (handshake) timeout (in seconds)
|
|
#channel_handshake_timeout = 4
|
|
|
|
# Ping-pong exchange execution interval (in seconds)
|
|
#channel_heartbeat_interval = 10 |