seed.toml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. ## This is the tau daemon configuration file.
  2. ## Review it carefully.
  3. ## Datastore Path
  4. datastore = "seed"
  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 = "seed"
  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."test"]
  34. read_key = "AXApLyi8id3T1MwKkrgdYZtkpUag5qMmambDHGkdFiY2"
  35. # write_key = "7jvrj4Rxnm1UcAjz5Y1CNFEfZiGMg9F1ekfbbEakkicA"
  36. write_public_key = "2LW4qXxR5QSybtMeRtX69GdqNWxgAbDVyMT6aWe37MT7"
  37. ## JSON-RPC settings
  38. [rpc]
  39. ## JSON-RPC listen URL
  40. rpc_listen = "tcp://127.0.0.1:23340"
  41. ## Disabled RPC methods
  42. rpc_disabled_methods = ["p2p.get_info"]
  43. # P2P network settings
  44. [net]
  45. # Path to a configured hostlist for saving known peers
  46. hostlist = "seed/hostlist.tsv"
  47. ## P2P accept addresses
  48. inbound = ["tcp://127.0.0.1:23331"]
  49. ## Outbound connection slots
  50. #outbound_connections = 8
  51. ## Inbound connection slots
  52. inbound_connections = 8
  53. ## White connection percent
  54. #gold_connect_count = 2
  55. ## White connection percent
  56. #white_connect_percent = 70
  57. ## Addresses we want to advertise to peers (optional)
  58. ## These should be reachable externally
  59. # external_addrs = ["tcp://127.0.0.1:23331"]
  60. ## Seed nodes to connect to
  61. # seeds = [
  62. #"tcp+tls://lilith0.dark.fi:5363",
  63. # "tcp+tls://lilith1.dark.fi:5363",
  64. # "tor://rwjgdy7bs4e3eamgltccea7p5yzz3alfi2vps2xefnihurbmpd3b7hqd.onion:5362"
  65. # "tor://f5mldz3utfrj5esn7vy7osa6itusotix6nsjhv4uirshkcvgglb3xdqd.onion:5362"
  66. # ]
  67. ## Manual peers to connect to
  68. #peers = []
  69. # Whitelisted transports for outbound connections
  70. allowed_transports = ["tcp"]
  71. #allowed_transports = ["tor"]
  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. localnet = true
  77. # Nodes to avoid interacting with for the duration of the program, in the
  78. # format ["host", ["scheme", "scheme"], [port, port]].
  79. # If scheme is left empty it will default to "tcp+tls".
  80. # If ports are left empty all ports from this peer will be blocked.
  81. #blacklist = [["example.com", ["tcp"], [8551, 23331]]]