Просмотр исходного кода

doc: add manual blacklist usage to default config

draoi 2 лет назад
Родитель
Сommit
4cf4fa93d8
3 измененных файлов с 18 добавлено и 0 удалено
  1. 6 0
      bin/darkfid/darkfid_config.toml
  2. 6 0
      bin/darkirc/darkirc_config.toml
  3. 6 0
      bin/tau/taud/taud_config.toml

+ 6 - 0
bin/darkfid/darkfid_config.toml

@@ -333,3 +333,9 @@ localnet = false
 
 # Time between peer discovery attempts
 #outbound_peer_discovery_attempt_time = 5
+
+# 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". 
+# If ports are left empty all ports from this peer will be blocked.
+#blacklist = [["example.com", ["tcp"], [8551, 23331]]]

+ 6 - 0
bin/darkirc/darkirc_config.toml

@@ -95,6 +95,12 @@ allowed_transports = ["tcp+tls"]
 # By default this is not allowed.
 transport_mixing = false
 
+# 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". 
+# If ports are left empty all ports from this peer will be blocked.
+#blacklist = [["example.com", ["tcp"], [8551, 23331]]]
+
 ## ====================
 ## IRC channel settings
 ## ====================

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

@@ -60,3 +60,9 @@ allowed_transports = ["tcp+tls"]
 # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
 # By default this is not allowed.
 transport_mixing = false
+
+# 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". 
+# If ports are left empty all ports from this peer will be blocked.
+#blacklist = [["example.com", ["tcp"], [8551, 23331]]]