taud_config.toml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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_taud_db"
  9. ## Run in replay mode to store Sled DB instructions
  10. ## (for eventgraph debugging tool)
  11. #replay_mode = false
  12. ## Named pipe path
  13. #pipe_path = "/tmp/tau_pipe"
  14. ## Whether to pipe notifications or not
  15. #piped = false
  16. ## Current display name
  17. #nickname = "NICKNAME"
  18. ## ====================
  19. ## Workspace settings
  20. ## ====================
  21. ##
  22. ## You can create a shared secret (read_key) with `taud --generate`.
  23. ## Never share this secret over unencrypted channels or with someone
  24. ## who you do not want to be able to read all the workspace's tasks.
  25. ## The write_public_key is used to verify task's authenticity the admin
  26. ## of workspace should generate and share it, while write_key is the
  27. ## private part and responsible for signing tasks and gaining write
  28. ## access, this, too, should not be shared with someone you don't
  29. ## want to add/edit tasks.
  30. ## Use it like this example:
  31. #[workspace."foo"]
  32. #read_key = "2bCqQTd8BJgeUzH7JQELZxjQuWS8aCmXZ9C6w7ktNS1v"
  33. #write_public_key = "Fgsc8tep4KX3Rb2drq8RxMyrHFWQ7wZaZPpF9F3GQYFG"
  34. #write_key = ""
  35. [workspace."darkfi-dev"]
  36. read_key = "4WhacatfZ314eM4aE2MYDUmDZczKpHwZo2u9zwQRaGhE"
  37. write_public_key = "Fgsc8tep4KX3Rb2drq8RxMyrHFWQ7wZaZPpF9F3GQYFG"
  38. #write_key = ""
  39. # P2P network settings
  40. [net]
  41. # Path to the P2P datastore
  42. datastore = "~/.local/darkfi/taud"
  43. # Path to a configured hostlist for saving known peers
  44. hostlist = "~/.local/darkfi/taud/hostlist.tsv"
  45. ## P2P accept addresses
  46. #inbound = ["tcp+tls://0.0.0.0:23331", "tcp+tls://[::]:23331"]
  47. ## Outbound connection slots
  48. #outbound_connections = 8
  49. ## Inbound connection slots
  50. #inbound_connections = 8
  51. ## White connection percent
  52. #gold_connect_count = 2
  53. ## White connection percent
  54. #white_connect_percent = 70
  55. ## Addresses we want to advertise to peers (optional)
  56. ## These should be reachable externally
  57. #external_addrs = ["tcp+tls://my.resolveable.address:23331"]
  58. ## Seed nodes to connect to
  59. seeds = [
  60. #"tcp+tls://lilith0.dark.fi:5363",
  61. "tcp+tls://lilith1.dark.fi:5363",
  62. # "tor://rwjgdy7bs4e3eamgltccea7p5yzz3alfi2vps2xefnihurbmpd3b7hqd.onion:5362"
  63. # "tor://f5mldz3utfrj5esn7vy7osa6itusotix6nsjhv4uirshkcvgglb3xdqd.onion:5362"
  64. ]
  65. ## Manual peers to connect to
  66. #peers = []
  67. # Whitelisted transports for outbound connections
  68. allowed_transports = ["tcp+tls"]
  69. #allowed_transports = ["tor"]
  70. # Enable transport mixing
  71. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  72. # By default this is not allowed.
  73. transport_mixing = false
  74. # Nodes to avoid interacting with for the duration of the program, in the
  75. # format ["host", ["scheme", "scheme"], [port, port]].
  76. # If scheme is left empty it will default to "tcp+tls".
  77. # If ports are left empty all ports from this peer will be blocked.
  78. #blacklist = [["example.com", ["tcp"], [8551, 23331]]]