Bläddra i källkod

bin: add default socks5 proxy address to darkirc, darkfid and taud configs

oars 1 år sedan
förälder
incheckning
499c517573
3 ändrade filer med 15 tillägg och 0 borttagningar
  1. 9 0
      bin/darkfid/darkfid_config.toml
  2. 3 0
      bin/darkirc/darkirc_config.toml
  3. 3 0
      bin/tau/taud/taud_config.toml

+ 9 - 0
bin/darkfid/darkfid_config.toml

@@ -99,6 +99,9 @@ hostlist = "~/.local/share/darkfi/darkfid/localnet/p2p_hostlist.tsv"
 # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
 #transport_mixing = true
 
+# Socks5 proxy
+#socks5_proxy = "socks5://127.0.0.1:9050"
+
 # Outbound connection slots number, this many connections will be
 # attempted. (This does not include manual connections)
 #outbound_connections = 8
@@ -229,6 +232,9 @@ allowed_transports = ["tcp+tls"]
 # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
 #transport_mixing = true
 
+# Socks5 proxy
+#socks5_proxy = "socks5://127.0.0.1:9050"
+
 # Outbound connection slots number, this many connections will be
 # attempted. (This does not include manual connections)
 outbound_connections = 8
@@ -353,6 +359,9 @@ allowed_transports = ["tcp+tls"]
 # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
 #transport_mixing = true
 
+# Socks5 proxy
+#socks5_proxy = "socks5://127.0.0.1:9050"
+
 # Outbound connection slots number, this many connections will be
 # attempted. (This does not include manual connections)
 outbound_connections = 8

+ 3 - 0
bin/darkirc/darkirc_config.toml

@@ -99,6 +99,9 @@ allowed_transports = ["tcp+tls"]
 # By default this is not allowed.
 transport_mixing = false
 
+# Socks5 proxy
+#socks5_proxy = "socks5://127.0.0.1:9050"
+
 # Nodes to avoid interacting with for the duration of the program, in the
 # format ["host", ["scheme", "scheme"], [port, port]].
 # If scheme is left empty it will default to "tcp+tls". 

+ 3 - 0
bin/tau/taud/taud_config.toml

@@ -100,6 +100,9 @@ allowed_transports = ["tcp+tls"]
 # By default this is not allowed.
 transport_mixing = false
 
+# Socks5 proxy
+#socks5_proxy = "socks5://127.0.0.1:9050"
+
 # Nodes to avoid interacting with for the duration of the program, in the
 # format ["host", ["scheme", "scheme"], [port, port]].
 # If scheme is left empty it will default to "tcp+tls".