seed.toml 2.9 KB

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