seed.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ## IRC listen URL
  2. irc_listen="tcp://127.0.0.1:22020"
  3. ## Sets Datastore Path
  4. datastore = "seed"
  5. ## List of channels to autojoin for new client connections
  6. autojoin = ["#dev"]
  7. ## TLS certificate path if IRC acceptor uses TLS (optional)
  8. #irc_tls_cert = "/etc/letsencrypt/darkirc/fullchain.pem"
  9. ## TLS secret key path if IRC acceptor uses TLS (optional)
  10. #irc_tls_secret = "/etc/letsencrypt/darkirc/privkey.pem"
  11. # Log to file. Off by default.
  12. #log = "/tmp/darkirc0.log"
  13. # Set log level. 1 is info (default), 2 is debug, 3 is trace
  14. #verbose = 2
  15. ## JSON-RPC settings
  16. [rpc]
  17. ## JSON-RPC listen URL
  18. rpc_listen = "tcp://127.0.0.1:8888"
  19. ## Disabled RPC methods
  20. rpc_disabled_methods = ["p2p.get_info"]
  21. ## P2P net settings
  22. [net]
  23. ## Outbound connection slots
  24. # outbound_connections = 8
  25. ## Inbound connection slots
  26. inbound_connections = 8
  27. ## P2P accept addresses
  28. inbound = ["tcp://127.0.0.1:25551"]
  29. # Prefered transports for outbound connections
  30. allowed_transports = ["tcp"]
  31. localnet = true
  32. hostlist = "seed/hostlist.tsv"
  33. ## Seed nodes to connect to
  34. # seeds = ["tcp://127.0.0.1:25551", "tls://lilith1.dark.fi:25551"]
  35. #
  36. # [channel."#dev"]
  37. # topic = "DarkFi Development HQ"
  38. # [channel."#test1"]
  39. # secret = "HoLfk8vXBvNsBZ73e2xRPBZ9vEbnF9FVi4fDdyU9AZLU"