darkirc-clearnet.toml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. ## Whitelisted transports for outbound connections
  20. allowed_transports = ["tcp+tls"]
  21. ## Addresses we want to advertise to peers
  22. external_addrs = ["tcp+tls://MY_IP_V4:26661", "tcp+tls://MY_IP_V6:26661", "tcp+tls://my.resolveable.address:26661"]
  23. ## Seed nodes to connect to
  24. seeds = ["tcp+tls://lilith1.dark.fi:5262"]
  25. ## P2P accept addresses
  26. inbound = ["tcp+tls://0.0.0.0:26661", "tcp+tls://[::]:26661"]
  27. ## Outbound connection slots
  28. outbound_connections = 8
  29. ## Inbound connection slots
  30. inbound_connections = 64
  31. ## Transports to be mixed
  32. mixed_transports = []