taud_full_node2.toml 2.8 KB

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