taud_config.toml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ## This is the tau daemon configuration file.
  2. ## Review it carefully.
  3. ## JSON-RPC listen URL
  4. #rpc_listen="tcp://127.0.0.1:23330"
  5. ## Datastore Path
  6. #datastore = "~/.local/darkfi/taud_db"
  7. ## Sets DB logs replay datastore path
  8. #replay_datastore = "~/.local/darkfi/replayed_darkirc_db"
  9. ## Run in replay mode to store Sled DB instructions
  10. ## (for eventgraph debugging tool)
  11. #replay_mode = false
  12. ## Current display name
  13. #nickname = "NICKNAME"
  14. [workspace."darkfi-dev"]
  15. read_key = "2bCqQTd8BJgeUzH7JQELZxjQuWS8aCmXZ9C6w7ktNS1v"
  16. write_public_key = "Fgsc8tep4KX3Rb2drq8RxMyrHFWQ7wZaZPpF9F3GQYFG"
  17. # P2P network settings
  18. [net]
  19. # Path to a configured hostlist for saving known peers
  20. hostlist = "~/.local/darkfi/taud/hostlist.tsv"
  21. ## P2P accept addresses
  22. #inbound = ["tcp+tls://0.0.0.0:23331", "tcp+tls://[::]:23331"]
  23. ## Outbound connection slots
  24. # outbound_connections = 8
  25. ## Inbound connection slots
  26. #inbound_connections = 8
  27. ## White connection percent
  28. # gold_connect_count = 2
  29. ## White connection percent
  30. # white_connect_percent = 70
  31. ## Addresses we want to advertise to peers (optional)
  32. ## These should be reachable externally
  33. #external_addrs = ["tcp+tls://my.resolveable.address:23331"]
  34. ## Seed nodes to connect to
  35. seeds = [
  36. #"tcp+tls://lilith0.dark.fi:5363",
  37. "tcp+tls://lilith1.dark.fi:5363",
  38. # "tor://rwjgdy7bs4e3eamgltccea7p5yzz3alfi2vps2xefnihurbmpd3b7hqd.onion:5362"
  39. # "tor://f5mldz3utfrj5esn7vy7osa6itusotix6nsjhv4uirshkcvgglb3xdqd.onion:5362"
  40. ]
  41. # Whitelisted transports for outbound connections
  42. allowed_transports = ["tcp+tls"]
  43. #allowed_transports = ["tor"]
  44. # Enable transport mixing
  45. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  46. # By default this is not allowed.
  47. transport_mixing = false
  48. # Nodes to avoid interacting with for the duration of the program, in the
  49. # format ["host", ["scheme", "scheme"], [port, port]].
  50. # If scheme is left empty it will default to "tcp+tls".
  51. # If ports are left empty all ports from this peer will be blocked.
  52. #blacklist = [["example.com", ["tcp"], [8551, 23331]]]