darkirc_full_node1.toml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ## JSON-RPC listen URL
  2. rpc_listen = "tcp://127.0.0.1:8890"
  3. ## IRC listen URL
  4. irc_listen = "tcp://127.0.0.1:22022"
  5. ## Sets Datastore Path
  6. datastore = "/tmp/darkirc_test/darkirc1"
  7. ## List of channels to autojoin for new client connections
  8. autojoin = ["#dev", "#test"]
  9. ## P2P net settings
  10. [net]
  11. ## Connection slots
  12. outbound_connections = 8
  13. ## Inbound connection slots
  14. inbound_connections = 8
  15. inbound = ["tcp://127.0.0.1:25552"]
  16. external_addrs = ["tcp://127.0.0.1:25552"]
  17. # peers = []
  18. ## Seed nodes to connect to
  19. seeds = ["tcp://127.0.0.1:25551"]
  20. # Prefered transports for outbound connections
  21. allowed_transports = ["tcp"]
  22. localnet = true
  23. hostlist = "/tmp/darkirc_test/darkirc1-host.tsv"
  24. advertise = true
  25. #
  26. # [channel."#dev"]
  27. # topic = "DarkFi Development HQ"
  28. [channel."#test"]
  29. secret = "HoLfk8vXBvNsBZ73e2xRPBZ9vEbnF9FVi4fDdyU9AZLU"
  30. [crypto]
  31. #dm_chacha_public = "BmUo88RJ5TyR7gUWnr6Mk7tqZE5xPuCqJdJV8KWzsagh"
  32. dm_chacha_secret = "Bwdhe48rKsqFwGUquQSSGZZS5NQP1szrdJUhyDE77Br6"
  33. [contact."node2"]
  34. dm_chacha_public = "ACaVU2uf4n2cheRHFP7RB9PASLweBJNdp5QJ4PGwVz67"