fud_config.toml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. ## fud configuration file
  2. ##
  3. ## Please make sure you go through all the settings so you can configure
  4. ## your daemon properly.
  5. ##
  6. ## The default values are left commented. They can be overridden either by
  7. ## uncommenting, or by using the command-line.
  8. # Path to the contents directory
  9. base_dir = "~/.local/share/darkfi/fud"
  10. ## Chunk transfer timeout in seconds
  11. #chunk_timeout = 60
  12. # PoW settings (to generate a valid node id)
  13. [pow]
  14. ## Equi-X effort value
  15. #equix_effort = 10000
  16. ## Toggle BTC block hash in PoW challenge (useful for localnet/debug)
  17. #btc_enabled = true
  18. ## Number of latest BTC block hashes that are valid for fud's PoW
  19. #btc_hash_count = 144
  20. ## Electrum nodes timeout in seconds
  21. #btc_timeout = 15
  22. # Electrum nodes used to fetch the latest BTC block hashes (used in fud's PoW)
  23. btc_electrum_nodes = [
  24. "tcp://ax102.blockeng.ch:50001",
  25. "tcp://fulcrum-core.1209k.com:50001",
  26. "tcp://electrum.blockstream.info:50001",
  27. "tcp://bitcoin.aranguren.org:50001",
  28. "tcp://bitcoin.grey.pw:50001",
  29. #"tor://4vrz2q62yxlfmcntnotzdjahpqh2joirp2vrcdsayyioxthffimbp2ad.onion:50001",
  30. #"tor://k23xxwk6xipyfdqey4ylsfeetmcajjro63odwihzbmx5m6xabbwzp4yd.onion:50001",
  31. #"tor://sysaw6aecffum4ghlbukauf6g7l3hzh3rffafmfak5bxnfowrynd56ad.onion:50001",
  32. #"tor://udfpzbte2hommnvag5f3qlouqkhvp3xybhlus2yvfeqdwlhjroe4bbyd.onion:60001",
  33. #"tor://lukebtcygzrosjtcklev2fhlvpbyu25saienzorhbf3vwc2fpa475qyd.onion:50001",
  34. ]
  35. # DHT settings
  36. [dht]
  37. ## Number of nodes in a bucket
  38. #dht_k = 16
  39. ## Number of lookup requests in a burst
  40. #dht_alpha = 4
  41. ## Maximum number of parallel lookup requests
  42. #dht_concurrency = 10
  43. ## Timeout in seconds
  44. #dht_timeout = 5
  45. ## Timeout in seconds for inbound connections
  46. #dht_inbound_timeout = 30
  47. # JSON-RPC settings
  48. [rpc]
  49. # JSON-RPC listen URL
  50. rpc_listen = "tcp://127.0.0.1:9705"
  51. # Disabled RPC methods
  52. #rpc_disabled_methods = []
  53. # Management JSON-RPC settings
  54. [management_rpc]
  55. # JSON-RPC listen URL
  56. rpc_listen = "tcp://127.0.0.1:9706"
  57. # Disabled RPC methods
  58. #rpc_disabled_methods = []
  59. # P2P network settings
  60. [net]
  61. # Magic Bytes to distinguish the p2p network
  62. magic_bytes = [73, 59, 41, 23]
  63. # Path to the P2P datastore
  64. p2p_datastore = "~/.local/share/darkfi/fud"
  65. # Path to a configured hostlist for saving known peers
  66. hostlist = "~/.local/share/darkfi/fud/p2p_hostlist.tsv"
  67. ## Outbound connection slots
  68. # outbound_connections = 16
  69. ## Inbound connection slots
  70. #inbound_connections = 16
  71. ## White connection percent
  72. # gold_connect_count = 2
  73. ## White connection percent
  74. # white_connect_percent = 70
  75. # Nodes to avoid interacting with for the duration of the program, in the
  76. # format ["host", ["scheme", "scheme"], [port, port]].
  77. # If scheme is left empty it will default to "tcp+tls".
  78. # If ports are left empty all ports from this peer will be blocked.
  79. #blacklist = [["example.com", ["tcp"], [8551, 9700]]]
  80. # Whitelisted transports for outbound connections
  81. active_profiles = ["tor"]
  82. #active_profiles = ["tcp+tls"]
  83. #active_profiles = ["tor", "tor+tls"]
  84. # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
  85. # if tcp is added to mixed_profiles and tor is added to active_profiles)
  86. #mixed_profiles = []
  87. # Tor Socks5 proxy
  88. #tor_socks5_proxy = "socks5://127.0.0.1:9050"
  89. # Nym Socks5 proxy
  90. #nym_socks5_proxy = "socks5://127.0.0.1:1080"
  91. # I2p Socks5 proxy
  92. #i2p_socks5_proxy = "socks5://127.0.0.1:4447"
  93. [net.profiles."tcp+tls"]
  94. ## Seed nodes to connect to
  95. seeds = [
  96. "tcp+tls://lilith0.dark.fi:9700",
  97. "tcp+tls://lilith1.dark.fi:9700",
  98. ]
  99. ## Manual peers to connect to
  100. #peers = []
  101. ## P2P accept addresses
  102. #inbound = ["tcp+tls://0.0.0.0:9700", "tcp+tls://[::]:9700"]
  103. ## Addresses we want to advertise to peers (optional)
  104. ## These should be reachable externally
  105. #external_addrs = ["tcp+tls://my.resolveable.address:9700"]
  106. [net.profiles."tor"]
  107. ## Seed nodes to connect to
  108. seeds = [
  109. "tor://g7fxelebievvpr27w7gt24lflptpw3jeeuvafovgliq5utdst6xyruyd.onion:9701",
  110. "tor://yvklzjnfmwxhyodhrkpomawjcdvcaushsj6torjz2gyd7e25f3gfunyd.onion:9701",
  111. ]
  112. ## Manual peers to connect to
  113. #peers = []
  114. ## P2P accept addresses
  115. #inbound = ["tcp://127.0.0.1:9701"]
  116. ## Addresses we want to advertise to peers (optional)
  117. ## These should be reachable externally
  118. #external_addrs = ["tor://youraddress.onion:9701"]
  119. [net.profiles."i2p"]
  120. ## Seed nodes to connect to
  121. #seeds = []
  122. ## Manual peers to connect to
  123. #peers = []
  124. ## P2P accept addresses
  125. #inbound = ["tcp://127.0.0.1:9702"]
  126. ## Addresses we want to advertise to peers (optional)
  127. ## These should be reachable externally
  128. #external_addrs = ["i2p://youraddress.b32.i2p:9702"]
  129. [net.profiles."socks5"]
  130. ## Seed nodes to connect to
  131. seeds = [
  132. "socks5://127.0.0.1:9050/g7fxelebievvpr27w7gt24lflptpw3jeeuvafovgliq5utdst6xyruyd.onion:9701",
  133. "socks5://127.0.0.1:9050/yvklzjnfmwxhyodhrkpomawjcdvcaushsj6torjz2gyd7e25f3gfunyd.onion:9701",
  134. ]
  135. ## Manual peers to connect to
  136. #peers = []
  137. [net.profiles."socks5+tls"]
  138. ## Seed nodes to connect to
  139. seeds = [
  140. #"socks5+tls://127.0.0.1:9050/lilith0.dark.fi:9700",
  141. #"socks5+tls://127.0.0.1:1080/lilith1.dark.fi:9700"
  142. ]
  143. ## Manual peers to connect to
  144. #peers = []
  145. [net.profiles."tor+tls"]
  146. ## Seed nodes to connect to
  147. seeds = [
  148. "tor+tls://lilith0.dark.fi:9700",
  149. "tor+tls://lilith1.dark.fi:9700"
  150. ]
  151. ## Manual peers to connect to
  152. #peers = []
  153. [net.profiles."tcp"]
  154. ## Seed nodes to connect to
  155. #seeds = ["tcp://127.0.0.1:9700"]
  156. ## Manual peers to connect to
  157. #peers = []
  158. ## P2P accept addresses
  159. #inbound = ["tcp://127.0.0.1:9700"]
  160. ## Addresses we want to advertise to peers
  161. #external_addrs = ["tcp://127.0.0.1:9700"]