darkirc-mixed.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ## List of channels to autojoin for new client connections
  2. autojoin = [
  3. "#dev",
  4. "#memes",
  5. "#philosophy",
  6. "#markets",
  7. "#math",
  8. "#random",
  9. "#lunardao",
  10. ]
  11. ## P2P network settings
  12. [net]
  13. # Magic Bytes to distinguish the p2p network
  14. magic_bytes = [251, 229, 199, 181]
  15. ## Path to the P2P datastore
  16. datastore = "~/.local/share/darkfi/darkirc"
  17. ## Path to a configured hostlist for saving known peers
  18. hostlist = "~/.local/share/darkfi/darkirc/p2p_hostlist.tsv"
  19. ## connection settings
  20. outbound_connect_timeout = 60
  21. channel_handshake_timeout = 55
  22. channel_heartbeat_interval = 90
  23. outbound_peer_discovery_cooloff_time = 60
  24. ## Whitelisted transports for outbound connections
  25. allowed_transports = ["tcp+tls", "tor", "tor+tls"]
  26. ## Addresses we want to advertise to peers
  27. external_addrs = ["tcp+tls://MY_IP_V4:26661", "tcp+tls://MY_IP_V6:26661", "tcp+tls://my.resolveable.address:26661", "tor://youraddress.onion:25551"]
  28. ## Seed nodes to connect to
  29. seeds = [
  30. "tcp+tls://lilith1.dark.fi:5262",
  31. "tor://czzulj66rr5kq3uhidzn7fh4qvt3vaxaoldukuxnl5vipayuj7obo7id.onion:5263",
  32. "tor://vgbfkcu5hcnlnwd2lz26nfoa6g6quciyxwbftm6ivvrx74yvv5jnaoid.onion:5273",
  33. ]
  34. ## P2P accept addresses
  35. inbound = ["tcp://127.0.0.1:25551", "tcp+tls://0.0.0.0:26661", "tcp+tls://[::]:26661"]
  36. ## Outbound connection slots
  37. outbound_connections = 8
  38. ## Inbound connection slots
  39. inbound_connections = 64
  40. ## Transports to be mixed
  41. mixed_transports = ["tcp", "tcp+tls"]