| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- ## List of channels to autojoin for new client connections
- autojoin = [
- "#dev",
- "#memes",
- "#philosophy",
- "#markets",
- "#math",
- "#random",
- "#lunardao",
- ]
- ## P2P network settings
- [net]
- ## Path to the P2P datastore
- datastore = "~/.local/share/darkfi/darkirc"
- ## Path to a configured hostlist for saving known peers
- hostlist = "~/.local/share/darkfi/darkirc/p2p_hostlist.tsv"
- ## connection settings
- outbound_connect_timeout = 60
- channel_handshake_timeout = 55
- channel_heartbeat_interval = 90
- outbound_peer_discovery_cooloff_time = 60
- ## Whitelisted transports for outbound connections
- 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"]
- ## Seed nodes to connect to
- seeds = [
- "tcp+tls://lilith1.dark.fi:5262",
- "tor://czzulj66rr5kq3uhidzn7fh4qvt3vaxaoldukuxnl5vipayuj7obo7id.onion:5263",
- "tor://vgbfkcu5hcnlnwd2lz26nfoa6g6quciyxwbftm6ivvrx74yvv5jnaoid.onion:5273",
- ]
- ## P2P accept addresses
- inbound = ["tcp://127.0.0.1:25551", "tcp+tls://0.0.0.0:26661", "tcp+tls://[::]:26661"]
- ## Outbound connection slots
- outbound_connections = 8
- ## Inbound connection slots
- inbound_connections = 64
- ## Transports to be mixed
- mixed_transports = ["tcp", "tcp+tls"]
|