ircd_config.toml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. ## JSON-RPC listen URL
  2. #rpc_listen="tcp://127.0.0.1:11055"
  3. ## IRC listen URL
  4. #irc_listen="tcp://127.0.0.1:6667"
  5. #irc_listen="tls://0.0.0.0:6697"
  6. ## TLS certificate path if IRC acceptor uses TLS (optional)
  7. #irc_tls_cert = "/etc/letsencrypt/ircd/fullchain.pem"
  8. ## TLS secret key path if IRC acceptor uses TLS (optional)
  9. #irc_tls_secret = "/etc/letsencrypt/ircd/privkey.pem"
  10. ## List of channels to autojoin for new client connections
  11. autojoin = ["#dev", "#memes", "#philosophy", "#markets", "#math", "#random"]
  12. ## P2P net settings
  13. [net]
  14. ## P2P accept address
  15. #inbound="tls://0.0.0.0:11002"
  16. ## Connection slots
  17. outbound_connections=5
  18. ## P2P external address
  19. ## Put your IP or hostname here
  20. #external_addr="tls://XXX.XXX.XXX.XXX:11002"
  21. ## Peers to connect to
  22. #peers=["tls://127.0.0.1:11003"]
  23. ## Seed nodes to connect to
  24. seeds=["tls://irc0.dark.fi:11001", "tls://irc1.dark.fi:11001"]
  25. ## Only used for debugging. Compromises privacy when set.
  26. #node_id = "foo"
  27. ## these are the default configuration for the p2p network
  28. #manual_attempt_limit=0
  29. #seed_query_timeout_seconds=8
  30. #connect_timeout_seconds=10
  31. #channel_handshake_seconds=4
  32. #channel_heartbeat_seconds=10
  33. ## Per-channel settings
  34. #[channel."#dev"]
  35. ## Create with `ircd --gen-secret`
  36. #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
  37. ## Topic to set for the channel
  38. #topic = "DarkFi Development HQ"
  39. ## Contacts list
  40. # Shared secrets that encrypt direct communication between two nicknames on
  41. # the network.
  42. # These are in the form of secret:[nick0,nick1], which means that the same
  43. # shared secret will be used for all the nicknames in the list.
  44. [contact."7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"]
  45. nicks = ["sneed", "chuck"]