taud_config.toml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. ## This is the tau daemon configuration file.
  2. ## Review it carefully.
  3. ## Datastore Path
  4. #datastore = "~/.local/share/darkfi/taud_db"
  5. ## Sets DB logs replay datastore path
  6. #replay_datastore = "~/.local/share/darkfi/replayed_taud_db"
  7. ## Run in replay mode to store Sled DB instructions
  8. ## (for eventgraph debugging tool)
  9. #replay_mode = false
  10. ## Named pipe path
  11. #pipe_path = "/tmp/tau_pipe"
  12. ## Whether to pipe notifications or not
  13. #piped = false
  14. ## Current display name
  15. #nickname = "NICKNAME"
  16. ## ====================
  17. ## Workspace settings
  18. ## ====================
  19. ##
  20. ## You can create a shared secret (read_key) with `taud --generate`.
  21. ## Never share this secret over unencrypted channels or with someone
  22. ## who you do not want to be able to read all the workspace's tasks.
  23. ## The write_public_key is used to verify task's authenticity the admin
  24. ## of workspace should generate and share it, while write_key is the
  25. ## private part and responsible for signing tasks and gaining write
  26. ## access, this, too, should not be shared with someone you don't
  27. ## want to add/edit tasks.
  28. ## Use it like this example:
  29. #[workspace."foo"]
  30. #read_key = "2bCqQTd8BJgeUzH7JQELZxjQuWS8aCmXZ9C6w7ktNS1v"
  31. #write_public_key = "Fgsc8tep4KX3Rb2drq8RxMyrHFWQ7wZaZPpF9F3GQYFG"
  32. #write_key = ""
  33. [workspace."darkfi-dev"]
  34. read_key = "F63KzWGXgUdEfHcjQ2o4C54qbD4vDik7zjY5pSHQMxv2"
  35. write_public_key = "7iHFdGxe1DYyBtPLVFb7fXL3Kk495WtwRWaNxhYQTU9x"
  36. # write_key = ""
  37. # JSON-RPC settings
  38. [rpc]
  39. # JSON-RPC listen URL
  40. rpc_listen = "tcp://127.0.0.1:23330"
  41. # Disabled RPC methods
  42. rpc_disabled_methods = ["p2p.get_info"]
  43. # P2P network settings
  44. [net]
  45. # Path to the P2P datastore
  46. p2p_datastore = "~/.local/share/darkfi/taud"
  47. # Path to a configured hostlist for saving known peers
  48. hostlist = "~/.local/share/darkfi/taud/hostlist.tsv"
  49. ## P2P accept addresses
  50. #inbound = ["tcp+tls://0.0.0.0:23331", "tcp+tls://[::]:23331"]
  51. #inbound = ["tor://127.0.0.1:23331"]
  52. ## Outbound connection slots
  53. #outbound_connections = 8
  54. ## Inbound connection slots
  55. #inbound_connections = 8
  56. ## White connection percent
  57. #gold_connect_count = 2
  58. ## White connection percent
  59. #white_connect_percent = 70
  60. ## Addresses we want to advertise to peers (optional)
  61. ## These should be reachable externally
  62. #external_addrs = ["tcp+tls://my.resolveable.address:23331"]
  63. ## Seed nodes to connect to
  64. seeds = [
  65. "tcp+tls://lilith0.dark.fi:23331",
  66. "tcp+tls://lilith1.dark.fi:23331",
  67. #"tor://g7fxelebievvpr27w7gt24lflptpw3jeeuvafovgliq5utdst6xyruyd.onion:23332",
  68. #"tor://yvklzjnfmwxhyodhrkpomawjcdvcaushsj6torjz2gyd7e25f3gfunyd.onion:23332",
  69. ]
  70. ## Manual peers to connect to
  71. #peers = []
  72. # Whitelisted transports for outbound connections
  73. allowed_transports = ["tcp+tls"]
  74. #allowed_transports = ["tor"]
  75. #allowed_transports = ["tor", "tor+tls"]
  76. # Enable transport mixing
  77. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  78. # By default this is not allowed.
  79. transport_mixing = false
  80. # Tor Socks5 proxy
  81. #tor_socks5_proxy = "socks5://127.0.0.1:9050"
  82. # I2p Socks5 proxy
  83. #i2p_socks5_proxy = "socks5://127.0.0.1:4447"
  84. # Nodes to avoid interacting with for the duration of the program, in the
  85. # format ["host", ["scheme", "scheme"], [port, port]].
  86. # If scheme is left empty it will default to "tcp+tls".
  87. # If ports are left empty all ports from this peer will be blocked.
  88. #blacklist = [["example.com", ["tcp"], [8551, 23331]]]