Sfoglia il codice sorgente

doc: add manual blacklist usage to default config

draoi 2 anni fa
parent
commit
4cf4fa93d8

+ 6 - 0
bin/darkfid/darkfid_config.toml

@@ -333,3 +333,9 @@ localnet = false
 
 
 # Time between peer discovery attempts
 # Time between peer discovery attempts
 #outbound_peer_discovery_attempt_time = 5
 #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.
 # By default this is not allowed.
 transport_mixing = false
 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
 ## 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://
 # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
 # By default this is not allowed.
 # By default this is not allowed.
 transport_mixing = false
 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]]]