darkirc-i2p.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 = ["i2p", "i2p+tls"]
  26. ## Addresses we want to advertise to peers
  27. external_addrs = ["i2p://youraddress.b32.i2p:25551"]
  28. ## Seed nodes to connect to
  29. seeds = [
  30. ##TODO: replace with an official seed address
  31. "i2p://6l2rdfriixo2nh5pr5bt555lyz56qox2ikzia4kuzm4okje7gtmq.b32.i2p:5262"
  32. ]
  33. ## P2P accept addresses
  34. inbound = ["tcp://127.0.0.1:25551"]
  35. ## Outbound connection slots
  36. outbound_connections = 8
  37. ## Inbound connection slots
  38. inbound_connections = 64
  39. ## Enable transport mixing
  40. transport_mixing = false
  41. ## I2p Socks5 proxy
  42. i2p_socks5_proxy = "socks5://127.0.0.1:4447"