taud_full_node1.toml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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:23341"
  5. ## Datastore Path
  6. datastore = "/tmp/taud/taud_db_node1"
  7. ## Sets DB logs replay datastore path
  8. #replay_datastore = "~/.local/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 = "node1"
  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 = "DDEza5ifrphkKTvMSP1c8dR5RyUgn1WQHBvnAJKNzDRK"
  37. write_public_key = "CAX5qCXCTGwqT27ixzdgm4H54kbh2HtrXbzj9odAyjxh"
  38. write_key = "nGpVmGTNjfvJ9ojqijQwUMsbjrzaqHK5RniGAx9LTJfm49QcGY48RCaJ6riePvtr7xwUCyfvrwjxS8oqnDgpiZhS8KCQrykRYAwuFoHb41PSEMALu"
  39. # P2P network settings
  40. [net]
  41. # Path to a configured hostlist for saving known peers
  42. hostlist = "/tmp/taud_hostlist_node1.tsv"
  43. ## P2P accept addresses
  44. inbound = ["tcp://127.0.0.1:23332"]
  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:23332"]
  56. ## Seed nodes to connect to
  57. seeds = ["tcp://127.0.0.1:23331"]
  58. ## Manual peers to connect to
  59. #peers = []
  60. # Whitelisted transports for outbound connections
  61. allowed_transports = ["tcp"]
  62. #allowed_transports = ["tor"]
  63. # Enable transport mixing
  64. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  65. # By default this is not allowed.
  66. transport_mixing = false
  67. localnet = true
  68. # Nodes to avoid interacting with for the duration of the program, in the
  69. # format ["host", ["scheme", "scheme"], [port, port]].
  70. # If scheme is left empty it will default to "tcp+tls".
  71. # If ports are left empty all ports from this peer will be blocked.
  72. #blacklist = [["example.com", ["tcp"], [8551, 23331]]]