/ bin / fud / fud / fud_config.toml
fud_config.toml
  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  
  9  # Path to the contents directory
 10  base_dir = "~/.local/share/darkfi/fud"
 11  
 12  ## Chunk transfer timeout in seconds
 13  #chunk_timeout = 60
 14  
 15  # PoW settings (to generate a valid node id)
 16  [pow]
 17  ## Equi-X effort value
 18  #equix_value = 10000
 19  
 20  ## Number of latest BTC block hashes that are valid for fud's PoW
 21  #btc_hash_count = 144
 22  
 23  ## Electrum nodes timeout in seconds
 24  #btc_timeout = 15
 25  
 26  # Electrum nodes used to fetch the latest BTC block hashes (used in fud's PoW)
 27  btc_electrum_nodes = [
 28      "tcp://ax102.blockeng.ch:50001",
 29      "tcp://fulcrum-core.1209k.com:50001",
 30      "tcp://electrum.blockstream.info:50001",
 31      "tcp://bitcoin.aranguren.org:50001",
 32      "tcp://bitcoin.grey.pw:50001",
 33      #"tor://4vrz2q62yxlfmcntnotzdjahpqh2joirp2vrcdsayyioxthffimbp2ad.onion:50001",
 34      #"tor://k23xxwk6xipyfdqey4ylsfeetmcajjro63odwihzbmx5m6xabbwzp4yd.onion:50001",
 35      #"tor://sysaw6aecffum4ghlbukauf6g7l3hzh3rffafmfak5bxnfowrynd56ad.onion:50001",
 36      #"tor://udfpzbte2hommnvag5f3qlouqkhvp3xybhlus2yvfeqdwlhjroe4bbyd.onion:60001",
 37      #"tor://lukebtcygzrosjtcklev2fhlvpbyu25saienzorhbf3vwc2fpa475qyd.onion:50001",
 38  ]
 39  
 40  # DHT settings
 41  [dht]
 42  ## Number of nodes in a bucket
 43  #dht_k = 16
 44  
 45  ## Number of lookup requests in a burst
 46  #dht_alpha = 4
 47  
 48  ## Maximum number of parallel lookup requests
 49  #dht_concurrency = 10
 50  
 51  ## Timeout in seconds
 52  #dht_timeout = 5
 53  
 54  # JSON-RPC settings
 55  [rpc]
 56  # JSON-RPC listen URL
 57  rpc_listen = "tcp://127.0.0.1:13336"
 58  
 59  # Disabled RPC methods
 60  rpc_disabled_methods = ["p2p.get_info"]
 61  
 62  # P2P network settings
 63  [net]
 64  # Path to the P2P datastore
 65  p2p_datastore = "~/.local/share/darkfi/fud"
 66  
 67  # Path to a configured hostlist for saving known peers
 68  hostlist = "~/.local/share/darkfi/fud/p2p_hostlist.tsv"
 69  
 70  ## P2P accept addresses
 71  #inbound = ["tcp+tls://0.0.0.0:24441", "tcp+tls://[::]:24441"]
 72  
 73  ## Outbound connection slots
 74  # outbound_connections = 16
 75  
 76  ## Inbound connection slots
 77  #inbound_connections = 16
 78  
 79  ## White connection percent
 80  # gold_connect_count = 2
 81  
 82  ## White connection percent
 83  # white_connect_percent = 70
 84  
 85  ## Addresses we want to advertise to peers (optional)
 86  ## These should be reachable externally
 87  #external_addrs = ["tcp+tls://my.resolveable.address:24441"]
 88  
 89  ## Seed nodes to connect to
 90  seeds = [
 91      "tcp+tls://lilith0.dark.fi:24441",
 92      "tcp+tls://lilith1.dark.fi:24441",
 93      #"tor://g7fxelebievvpr27w7gt24lflptpw3jeeuvafovgliq5utdst6xyruyd.onion:24442",
 94      #"tor://yvklzjnfmwxhyodhrkpomawjcdvcaushsj6torjz2gyd7e25f3gfunyd.onion:24442",
 95  ]
 96  
 97  ## Manual peers to connect to
 98  #peers = []
 99  
100  # Whitelisted transports for outbound connections
101  allowed_transports = ["tcp+tls"]
102  #allowed_transports = ["tor"]
103  #allowed_transports = ["tor", "tor+tls"]
104  
105  # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
106  # if tcp is added to mixed_transports and tor is added to allowed_transports)
107  #mixed_transports = []
108  
109  # Tor Socks5 proxy
110  #tor_socks5_proxy = "socks5://127.0.0.1:9050"
111  
112  # Nym Socks5 proxy
113  #nym_socks5_proxy = "socks5://127.0.0.1:1080"
114  
115  # I2p Socks5 proxy
116  #i2p_socks5_proxy = "socks5://127.0.0.1:4447"
117  
118  # Nodes to avoid interacting with for the duration of the program, in the
119  # format ["host", ["scheme", "scheme"], [port, port]].
120  # If scheme is left empty it will default to "tcp+tls".
121  # If ports are left empty all ports from this peer will be blocked.
122  #blacklist = [["example.com", ["tcp"], [8551, 23331]]]