ircd_config.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. ## Connection slots
  15. outbound_connections=5
  16. ## P2P accept address
  17. #inbound="tls://0.0.0.0:11002"
  18. ## P2P external address
  19. ## Put your IP or hostname here
  20. ## This is how people can reach you on the inbound port configured above
  21. #external_addr="tls://XXX.XXX.XXX.XXX:11002"
  22. ## Peers to connect to
  23. #peers=["tls://127.0.0.1:11003"]
  24. ## Seed nodes to connect to
  25. seeds=["tls://irc0.dark.fi:11001", "tls://irc1.dark.fi:11001"]
  26. ## Only used for debugging. Compromises privacy when set.
  27. #node_id = "foo"
  28. ## these are the default configuration for the p2p network
  29. #manual_attempt_limit=0
  30. #seed_query_timeout_seconds=8
  31. #connect_timeout_seconds=10
  32. #channel_handshake_seconds=4
  33. #channel_heartbeat_seconds=10
  34. ## Per-channel settings
  35. #[channel."#dev"]
  36. ## Create with `ircd --gen-secret`
  37. #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
  38. ## Topic to set for the channel
  39. #topic = "DarkFi Development HQ"
  40. ## Contacts list
  41. # Shared secrets that encrypt direct communication between two nicknames on
  42. # the network.
  43. # These are in the form of secret:[nick0,nick1], which means that the same
  44. # shared secret will be used for all the nicknames in the list.
  45. [contact."7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"]
  46. nicks = ["sneed", "chuck"]