darkirc_full_node2.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ## IRC listen URL
  2. irc_listen = "tcp://127.0.0.1:22023"
  3. ## How many DAGs to be synced (each DAG represents a 1hr msg history),
  4. ## increasing this number means you get/sync previous hours msg history
  5. ## as well (max. 24)
  6. dags_count = 1
  7. ## Sets Datastore Path
  8. datastore = "darkirc2"
  9. ## List of channels to autojoin for new client connections
  10. autojoin = ["#dev", "#test"]
  11. # Log to file. Off by default.
  12. log = "/tmp/darkirc2.log"
  13. # Set log level. 1 is info (default), 2 is debug, 3 is trace
  14. #verbose = 2
  15. ## Running darkirc in header-only mode
  16. ## history won't be fetched but DAG sync fast
  17. #fast_mod = false
  18. ## JSON-RPC settings
  19. [rpc]
  20. ## JSON-RPC listen URL
  21. rpc_listen = "tcp://127.0.0.1:8891"
  22. ## Disabled RPC methods
  23. #rpc_disabled_methods = ["p2p.get_info"]
  24. ## P2P net settings
  25. [net]
  26. ## Connection slots
  27. outbound_connections = 8
  28. ## Inbound connection slots
  29. # inbound_connections = 8
  30. localnet = true
  31. hostlist = "darkirc2/hostlist.tsv"
  32. # Prefered transports for outbound connections
  33. active_profiles = ["tcp"]
  34. [net.profiles."tcp"]
  35. ## Seed nodes to connect to
  36. seeds = ["tcp://127.0.0.1:25551"]
  37. # inbound = ["tcp://127.0.0.1:25553"]
  38. # external_addrs = ["tcp://127.0.0.1:25553"]
  39. # peers = ["tcp://127.0.0.1:25552"]
  40. #
  41. # [channel."#dev"]
  42. # topic = "DarkFi Development HQ"
  43. [channel."#test"]
  44. secret = "HoLfk8vXBvNsBZ73e2xRPBZ9vEbnF9FVi4fDdyU9AZLU"
  45. [contact."node1"]
  46. dm_chacha_public = "BmUo88RJ5TyR7gUWnr6Mk7tqZE5xPuCqJdJV8KWzsagh"
  47. my_dm_chacha_secret = "JwsF8D2xvr9ff3Z5j1rhUCBL8odhdZR7qvR2qJ1ZV6P"
  48. #my_dm_chacha_public = "ACaVU2uf4n2cheRHFP7RB9PASLweBJNdp5QJ4PGwVz67"