darkirc_full_node2.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. # [rln]
  25. # nullifier = "GJJyzntzzVCuu4BwuS5SQxzaBf4JwJAsRFEZ9Poax3uu"
  26. # trapdoor = "GJcELibk8nj8eiAxiczAH8bMWWNSUHDsCcFdqAVyzy61"
  27. # user_message_limit = 10
  28. ## P2P net settings
  29. [net]
  30. ## Connection slots
  31. outbound_connections = 8
  32. ## Inbound connection slots
  33. # inbound_connections = 8
  34. localnet = true
  35. hostlist = "darkirc2/hostlist.tsv"
  36. # Prefered transports for outbound connections
  37. active_profiles = ["tcp"]
  38. [net.profiles."tcp"]
  39. ## Seed nodes to connect to
  40. seeds = ["tcp://127.0.0.1:25551"]
  41. inbound = ["tcp://127.0.0.1:25553"]
  42. external_addrs = ["tcp://127.0.0.1:25553"]
  43. # peers = ["tcp://127.0.0.1:25552"]
  44. #
  45. # [channel."#dev"]
  46. # topic = "DarkFi Development HQ"
  47. [channel."#test"]
  48. secret = "HoLfk8vXBvNsBZ73e2xRPBZ9vEbnF9FVi4fDdyU9AZLU"
  49. [contact."node1"]
  50. dm_chacha_public = "BmUo88RJ5TyR7gUWnr6Mk7tqZE5xPuCqJdJV8KWzsagh"
  51. my_dm_chacha_secret = "JwsF8D2xvr9ff3Z5j1rhUCBL8odhdZR7qvR2qJ1ZV6P"
  52. #my_dm_chacha_public = "ACaVU2uf4n2cheRHFP7RB9PASLweBJNdp5QJ4PGwVz67"