darkirc-clearnet.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. p2p_datastore = "~/.local/share/darkfi/darkirc/p2p"
  17. ## Path to a configured hostlist for saving known peers
  18. hostlist = "~/.local/share/darkfi/darkirc/p2p_hostlist.tsv"
  19. ## Outbound connection slots
  20. outbound_connections = 8
  21. ## Inbound connection slots
  22. inbound_connections = 64
  23. ## Whitelisted transports for outbound connections
  24. active_profiles = ["tcp+tls"]
  25. ## Transports to be mixed
  26. mixed_profiles = []
  27. [net.profiles."tcp+tls"]
  28. ## Seed nodes to connect to
  29. seeds = ["tcp+tls://lilith0.dark.fi:9600", "tcp+tls://lilith1.dark.fi:9600"]
  30. ## Addresses we want to advertise to peers
  31. external_addrs = ["tcp+tls://MY_IP_V4:9600", "tcp+tls://MY_IP_V6:9600", "tcp+tls://my.resolvable.address:9600"]
  32. ## P2P accept addresses
  33. inbound = ["tcp+tls://0.0.0.0:9600", "tcp+tls://[::]:9600"]