taud_config.toml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. ## 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 = "NICKNAME"
  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."darkfi-dev"]
  34. read_key = "F63KzWGXgUdEfHcjQ2o4C54qbD4vDik7zjY5pSHQMxv2"
  35. write_public_key = "7iHFdGxe1DYyBtPLVFb7fXL3Kk495WtwRWaNxhYQTU9x"
  36. # write_key = ""
  37. # JSON-RPC settings
  38. [rpc]
  39. # JSON-RPC listen URL
  40. rpc_listen = "tcp://127.0.0.1:9805"
  41. # Disabled RPC methods
  42. rpc_disabled_methods = ["p2p.get_info"]
  43. # P2P network settings
  44. [net]
  45. # Magic Bytes to distinguish the p2p network
  46. magic_bytes = [157, 137, 109, 97]
  47. # Path to the P2P datastore
  48. p2p_datastore = "~/.local/share/darkfi/taud"
  49. # Path to a configured hostlist for saving known peers
  50. hostlist = "~/.local/share/darkfi/taud/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. # Nodes to avoid interacting with for the duration of the program, in the
  60. # format ["host", ["scheme", "scheme"], [port, port]].
  61. # If scheme is left empty it will default to "tcp+tls".
  62. # If ports are left empty all ports from this peer will be blocked.
  63. #blacklist = [["example.com", ["tcp"], [8551, 9800]]]
  64. # Whitelisted transports for outbound connections
  65. active_profiles = ["tor"]
  66. #active_profiles = ["tcp+tls"]
  67. #active_profiles = ["tor", "tor+tls"]
  68. # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
  69. # if tcp is added to mixed_profiles and tor is added to active_profiles)
  70. #mixed_profiles = []
  71. # Tor Socks5 proxy
  72. #tor_socks5_proxy = "socks5://127.0.0.1:9050"
  73. # Nym Socks5 proxy
  74. #nym_socks5_proxy = "socks5://127.0.0.1:1080"
  75. # I2p Socks5 proxy
  76. #i2p_socks5_proxy = "socks5://127.0.0.1:4447"
  77. [net.profiles."tcp+tls"]
  78. ## Seed nodes to connect to
  79. seeds = [
  80. "tcp+tls://lilith0.dark.fi:9800",
  81. "tcp+tls://lilith1.dark.fi:9800",
  82. ]
  83. ## Manual peers to connect to
  84. #peers = []
  85. ## P2P accept addresses
  86. #inbound = ["tcp+tls://0.0.0.0:9800", "tcp+tls://[::]:9800"]
  87. ## Addresses we want to advertise to peers (optional)
  88. ## These should be reachable externally
  89. #external_addrs = ["tcp+tls://my.resolveable.address:9800"]
  90. [net.profiles."tor"]
  91. ## Seed nodes to connect to
  92. seeds = [
  93. "tor://g7fxelebievvpr27w7gt24lflptpw3jeeuvafovgliq5utdst6xyruyd.onion:9801",
  94. "tor://yvklzjnfmwxhyodhrkpomawjcdvcaushsj6torjz2gyd7e25f3gfunyd.onion:9801",
  95. ]
  96. ## Manual peers to connect to
  97. #peers = []
  98. ## P2P accept addresses
  99. #inbound = ["tor://127.0.0.1:9801"]
  100. [net.profiles."i2p"]
  101. ## Seed nodes to connect to
  102. #seeds = []
  103. ## Manual peers to connect to
  104. #peers = []
  105. ## P2P accept addresses
  106. #inbound = ["tcp://127.0.0.1:9801"]
  107. ## Addresses we want to advertise to peers
  108. #external_addrs = ["i2p://youraddress.b32.i2p:9801"]
  109. [net.profiles."socks5"]
  110. ## Seed nodes to connect to
  111. seeds = [
  112. "socks5://127.0.0.1:9050/g7fxelebievvpr27w7gt24lflptpw3jeeuvafovgliq5utdst6xyruyd.onion:9801",
  113. "socks5://127.0.0.1:9050/yvklzjnfmwxhyodhrkpomawjcdvcaushsj6torjz2gyd7e25f3gfunyd.onion:9801",
  114. ]
  115. ## Manual peers to connect to
  116. #peers = []
  117. [net.profiles."socks5+tls"]
  118. ## Seed nodes to connect to
  119. seeds = [
  120. #"socks5+tls://127.0.0.1:9050/lilith0.dark.fi:9801",
  121. #"socks5+tls://127.0.0.1:1080/lilith1.dark.fi:9801"
  122. ]
  123. ## Manual peers to connect to
  124. #peers = []
  125. [net.profiles."tor+tls"]
  126. ## Seed nodes to connect to
  127. seeds = [
  128. "tor+tls://lilith0.dark.fi:9801",
  129. "tor+tls://lilith1.dark.fi:9801"
  130. ]
  131. ## Manual peers to connect to
  132. #peers = []
  133. [net.profiles."tcp"]
  134. ## Seed nodes to connect to
  135. #seeds = ["tcp://127.0.0.1:9800"]
  136. ## Manual peers to connect to
  137. #peers = []
  138. ## P2P accept addresses
  139. #inbound = ["tcp://127.0.0.1:9800"]
  140. ## Addresses we want to advertise to peers
  141. #external_addrs = ["tcp://127.0.0.1:9800"]