darkirc-tor.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. ## Path to the P2P datastore
  14. datastore = "~/.local/darkfi/darkirc"
  15. ## Path to a configured hostlist for saving known peers
  16. hostlist = "~/.local/darkfi/darkirc/p2p_hostlist.tsv"
  17. ## connection settings
  18. outbound_connect_timeout = 60
  19. channel_handshake_timeout = 55
  20. channel_heartbeat_interval = 90
  21. outbound_peer_discovery_cooloff_time = 60
  22. ## Whitelisted transports for outbound connections
  23. allowed_transports = ["tor", "tor+tls"]
  24. ## Addresses we want to advertise to peers
  25. external_addr = ["tor://youraddress.onion:your-port"]
  26. ## Seed nodes to connect to
  27. seeds = [
  28. "tor://rwjgdy7bs4e3eamgltccea7p5yzz3alfi2vps2xefnihurbmpd3b7hqd.onion:5262",
  29. "tor://f5mldz3utfrj5esn7vy7osa6itusotix6nsjhv4uirshkcvgglb3xdqd.onion:5262",
  30. ]
  31. ## P2P accept addresses
  32. inbound = ["tcp://127.0.0.1:your-port"]
  33. ## Outbound connection slots
  34. outbound_connections = 8
  35. ## Inbound connection slots
  36. inbound_connections = 8
  37. ## Enable transport mixing
  38. transport_mixing = false