taud_config.toml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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/share/darkfi/taud_db"
  7. ## Sets DB logs replay datastore path
  8. #replay_datastore = "~/.local/share/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 = "F63KzWGXgUdEfHcjQ2o4C54qbD4vDik7zjY5pSHQMxv2"
  37. write_public_key = "7iHFdGxe1DYyBtPLVFb7fXL3Kk495WtwRWaNxhYQTU9x"
  38. # write_key = ""
  39. # P2P network settings
  40. [net]
  41. # Path to the P2P datastore
  42. p2p_datastore = "~/.local/share/darkfi/taud"
  43. # Path to a configured hostlist for saving known peers
  44. hostlist = "~/.local/share/darkfi/taud/hostlist.tsv"
  45. ## P2P accept addresses
  46. #inbound = ["tcp+tls://0.0.0.0:23331", "tcp+tls://[::]:23331"]
  47. #inbound = ["tor://127.0.0.1:23331"]
  48. ## Outbound connection slots
  49. #outbound_connections = 8
  50. ## Inbound connection slots
  51. #inbound_connections = 8
  52. ## White connection percent
  53. #gold_connect_count = 2
  54. ## White connection percent
  55. #white_connect_percent = 70
  56. ## Addresses we want to advertise to peers (optional)
  57. ## These should be reachable externally
  58. #external_addrs = ["tcp+tls://my.resolveable.address:23331"]
  59. ## Seed nodes to connect to
  60. seeds = [
  61. #"tcp+tls://lilith0.dark.fi:5363",
  62. "tcp+tls://lilith1.dark.fi:5363",
  63. # "tor://rwjgdy7bs4e3eamgltccea7p5yzz3alfi2vps2xefnihurbmpd3b7hqd.onion:5362"
  64. # "tor://f5mldz3utfrj5esn7vy7osa6itusotix6nsjhv4uirshkcvgglb3xdqd.onion:5362"
  65. ]
  66. ## Manual peers to connect to
  67. #peers = []
  68. # Whitelisted transports for outbound connections
  69. allowed_transports = ["tcp+tls"]
  70. #allowed_transports = ["tor"]
  71. #allowed_transports = ["tor", "tor+tls"]
  72. # Enable transport mixing
  73. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  74. # By default this is not allowed.
  75. transport_mixing = false
  76. # Nodes to avoid interacting with for the duration of the program, in the
  77. # format ["host", ["scheme", "scheme"], [port, port]].
  78. # If scheme is left empty it will default to "tcp+tls".
  79. # If ports are left empty all ports from this peer will be blocked.
  80. #blacklist = [["example.com", ["tcp"], [8551, 23331]]]