fud_config.toml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. # DHT settings
  13. [dht]
  14. ## Number of nodes in a bucket
  15. #dht_k = 16
  16. ## Number of lookup requests in a burst
  17. #dht_alpha = 4
  18. ## Maximum number of parallel lookup requests
  19. #dht_concurrency = 10
  20. ## Timeout in seconds
  21. #dht_timeout = 5
  22. # JSON-RPC settings
  23. [rpc]
  24. # JSON-RPC listen URL
  25. rpc_listen = "tcp://127.0.0.1:13336"
  26. # Disabled RPC methods
  27. rpc_disabled_methods = ["p2p.get_info"]
  28. # P2P network settings
  29. [net]
  30. # Path to the P2P datastore
  31. p2p_datastore = "~/.local/share/darkfi/fud"
  32. # Path to a configured hostlist for saving known peers
  33. hostlist = "~/.local/share/darkfi/fud/p2p_hostlist.tsv"
  34. ## P2P accept addresses
  35. #inbound = ["tcp+tls://0.0.0.0:24441", "tcp+tls://[::]:24441"]
  36. ## Outbound connection slots
  37. # outbound_connections = 16
  38. ## Inbound connection slots
  39. #inbound_connections = 16
  40. ## White connection percent
  41. # gold_connect_count = 2
  42. ## White connection percent
  43. # white_connect_percent = 70
  44. ## Addresses we want to advertise to peers (optional)
  45. ## These should be reachable externally
  46. #external_addrs = ["tcp+tls://my.resolveable.address:24441"]
  47. ## Seed nodes to connect to
  48. seeds = [
  49. "tcp+tls://lilith0.dark.fi:24441",
  50. "tcp+tls://lilith1.dark.fi:24441",
  51. #"tor://g7fxelebievvpr27w7gt24lflptpw3jeeuvafovgliq5utdst6xyruyd.onion:24442",
  52. #"tor://yvklzjnfmwxhyodhrkpomawjcdvcaushsj6torjz2gyd7e25f3gfunyd.onion:24442",
  53. ]
  54. ## Manual peers to connect to
  55. #peers = []
  56. # Whitelisted transports for outbound connections
  57. allowed_transports = ["tcp+tls"]
  58. #allowed_transports = ["tor"]
  59. #allowed_transports = ["tor", "tor+tls"]
  60. # Enable transport mixing
  61. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  62. # By default this is not allowed.
  63. transport_mixing = false
  64. # Tor Socks5 proxy
  65. #tor_socks5_proxy = "socks5://127.0.0.1:9050"
  66. # I2p Socks5 proxy
  67. #i2p_socks5_proxy = "socks5://127.0.0.1:4447"
  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]]]