taud_config.toml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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. ## Enable RLN proof generation and verification. Disabled by default to skip
  8. ## RLN key loading, identity SMT state, proof generation, and proof verification.
  9. #rln_enabled = false
  10. ## Datastore path for RLN proving and verifying keys
  11. #zk_key_datastore = "~/.local/share/darkfi/taud/zk_keys"
  12. ## Run in replay mode to store KVDB instructions
  13. ## (for eventgraph debugging tool)
  14. #replay_mode = false
  15. ## Named pipe path
  16. #pipe_path = "/tmp/tau_pipe"
  17. ## Whether to pipe notifications or not
  18. #piped = false
  19. ## Current display name
  20. #nickname = "NICKNAME"
  21. ## ====================
  22. ## Workspace settings
  23. ## ====================
  24. ##
  25. ## You can create a shared secret (read_key) with `taud --generate`.
  26. ## Never share this secret over unencrypted channels or with someone
  27. ## who you do not want to be able to read all the workspace's tasks.
  28. ## The write_public_key is used to verify task's authenticity the admin
  29. ## of workspace should generate and share it, while write_key is the
  30. ## private part and responsible for signing tasks and gaining write
  31. ## access, this, too, should not be shared with someone you don't
  32. ## want to add/edit tasks.
  33. ## Use it like this example:
  34. #[workspace."foo"]
  35. #read_key = "2bCqQTd8BJgeUzH7JQELZxjQuWS8aCmXZ9C6w7ktNS1v"
  36. #write_public_key = "Fgsc8tep4KX3Rb2drq8RxMyrHFWQ7wZaZPpF9F3GQYFG"
  37. #write_key = ""
  38. [workspace."darkfi-dev"]
  39. read_key = "F63KzWGXgUdEfHcjQ2o4C54qbD4vDik7zjY5pSHQMxv2"
  40. write_public_key = "7iHFdGxe1DYyBtPLVFb7fXL3Kk495WtwRWaNxhYQTU9x"
  41. # write_key = ""
  42. # JSON-RPC settings
  43. [rpc]
  44. # JSON-RPC listen URL
  45. rpc_listen = ["tcp://127.0.0.1:9805"]
  46. # Disabled RPC methods
  47. rpc_disabled_methods = ["p2p.get_info"]
  48. # P2P network settings
  49. [net]
  50. # Magic Bytes to distinguish the p2p network
  51. magic_bytes = [157, 137, 109, 97]
  52. # Path to the P2P datastore
  53. p2p_datastore = "~/.local/share/darkfi/taud"
  54. # Path to a configured hostlist for saving known peers
  55. hostlist = "~/.local/share/darkfi/taud/hostlist.tsv"
  56. ## Outbound connection slots
  57. #outbound_connections = 8
  58. ## Inbound connection slots
  59. #inbound_connections = 8
  60. ## White connection percent
  61. #gold_connect_count = 2
  62. ## White connection percent
  63. #white_connect_percent = 70
  64. # Nodes to avoid interacting with for the duration of the program, in the
  65. # format ["host", ["scheme", "scheme"], [port, port]].
  66. # If scheme is left empty it will default to "tcp+tls".
  67. # If ports are left empty all ports from this peer will be blocked.
  68. #blacklist = [["example.com", ["tcp"], [8551, 9800]]]
  69. # Whitelisted transports for outbound connections
  70. active_profiles = ["tor"]
  71. #active_profiles = ["tcp+tls"]
  72. #active_profiles = ["tor", "tor+tls"]
  73. # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
  74. # if tcp is added to mixed_profiles and tor is added to active_profiles)
  75. #mixed_profiles = []
  76. # Tor Socks5 proxy
  77. #tor_socks5_proxy = "socks5://127.0.0.1:9050"
  78. # Nym Socks5 proxy
  79. #nym_socks5_proxy = "socks5://127.0.0.1:1080"
  80. # I2p Socks5 proxy
  81. #i2p_socks5_proxy = "socks5://127.0.0.1:4447"
  82. [net.profiles."tcp+tls"]
  83. ## Seed nodes to connect to
  84. seeds = [
  85. "tcp+tls://lilith0.dark.fi:9800",
  86. "tcp+tls://lilith1.dark.fi:9800",
  87. ]
  88. ## Manual peers to connect to
  89. #peers = []
  90. ## P2P accept addresses
  91. #inbound = ["tcp+tls://0.0.0.0:9800", "tcp+tls://[::]:9800"]
  92. ## Addresses we want to advertise to peers (optional)
  93. ## These should be reachable externally
  94. #external_addrs = ["tcp+tls://my.resolveable.address:9800"]
  95. [net.profiles."tor"]
  96. ## Seed nodes to connect to
  97. seeds = [
  98. "tor://wgxxaifz5gv4iggcflyl67lgmsihffs6bbwobqah4np52t3y3olrnpid.onion:9801",
  99. "tor://inx5s3pdzddvgb5ii3oydutmbvw6fvor3oqu65wtxl3pyevtvrdn4had.onion:9801",
  100. ]
  101. ## Manual peers to connect to
  102. #peers = []
  103. ## P2P accept addresses
  104. #inbound = ["tor://127.0.0.1:9801"]
  105. [net.profiles."i2p"]
  106. ## Seed nodes to connect to
  107. #seeds = []
  108. ## Manual peers to connect to
  109. #peers = []
  110. ## P2P accept addresses
  111. #inbound = ["tcp://127.0.0.1:9802"]
  112. ## Addresses we want to advertise to peers
  113. #external_addrs = ["i2p://youraddress.b32.i2p:9802"]
  114. [net.profiles."socks5"]
  115. ## Seed nodes to connect to
  116. seeds = [
  117. "socks5://127.0.0.1:9050/wgxxaifz5gv4iggcflyl67lgmsihffs6bbwobqah4np52t3y3olrnpid.onion:9801",
  118. "socks5://127.0.0.1:9050/inx5s3pdzddvgb5ii3oydutmbvw6fvor3oqu65wtxl3pyevtvrdn4had.onion:9801",
  119. ]
  120. ## Manual peers to connect to
  121. #peers = []
  122. [net.profiles."socks5+tls"]
  123. ## Seed nodes to connect to
  124. seeds = [
  125. #"socks5+tls://127.0.0.1:9050/lilith0.dark.fi:9801",
  126. #"socks5+tls://127.0.0.1:1080/lilith1.dark.fi:9801"
  127. ]
  128. ## Manual peers to connect to
  129. #peers = []
  130. [net.profiles."tor+tls"]
  131. ## Seed nodes to connect to
  132. seeds = [
  133. "tor+tls://lilith0.dark.fi:9801",
  134. "tor+tls://lilith1.dark.fi:9801"
  135. ]
  136. ## Manual peers to connect to
  137. #peers = []
  138. [net.profiles."tcp"]
  139. ## Seed nodes to connect to
  140. #seeds = ["tcp://127.0.0.1:9800"]
  141. ## Manual peers to connect to
  142. #peers = []
  143. ## P2P accept addresses
  144. #inbound = ["tcp://127.0.0.1:9800"]
  145. ## Addresses we want to advertise to peers
  146. #external_addrs = ["tcp://127.0.0.1:9800"]