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

doc/src/misc/nodes: update docs with change of transport_mixing boolean to mixed_transports list

oars 1 год назад
Родитель
Сommit
1650037662
2 измененных файлов с 13 добавлено и 12 удалено
  1. 6 6
      doc/src/misc/nodes/public-guide.md
  2. 7 6
      doc/src/misc/nodes/tor-guide.md

+ 6 - 6
doc/src/misc/nodes/public-guide.md

@@ -67,8 +67,8 @@ outbound_connections = 8
 ## Inbound connection slots
 inbound_connections = 64
 
-## Enable transport mixing
-transport_mixing = false
+## Transports to be mixed
+mixed_transports = []
 ```
 
 ### Fully anonymous Tor-enabled node
@@ -110,8 +110,8 @@ outbound_connections = 8
 ## Inbound connection slots
 inbound_connections = 64
 
-## Enable transport mixing
-transport_mixing = false
+## Transports to be mixed
+mixed_transports = []
 ```
 
 ### Fully anonymous I2p-enabled node
@@ -197,8 +197,8 @@ outbound_connections = 8
 ## Inbound connection slots
 inbound_connections = 64
 
-## Enable transport mixing
-transport_mixing = true
+## Transports to be mixed
+mixed_transports = ["tcp+tls", "tcp"]
 
 ## I2p Socks5 proxy
 i2p_socks5_proxy = "socks5://127.0.0.1:4447"

+ 7 - 6
doc/src/misc/nodes/tor-guide.md

@@ -59,8 +59,8 @@ seeds = [
 ## Outbound connection slots
 outbound_connections = 8
 
-## Enable transport mixing
-transport_mixing = false
+## Transports to be mixed
+mixed_transports = []
 ```
 
 #### Socks5 proxy node settings
@@ -74,12 +74,13 @@ host or port.
 <u><b>Note</b></u>: With this setup, our node will connect to both Tor and clearnet nodes through the Socks5 proxy.
 ```toml
 ## Whitelisted transports for outbound connections
-allowed_transports = ["socks5", "socks5+tls"]
-## Enable transport mixing
-transport_mixing = true
-## Tor socks5 proxy
+allowed_transports = ["socks5", "socks5+tls", "tcp+tls", "tor"]
+## Transports to be mixed
+mixed_transports = ["tor", "tcp+tls"]
+## Tor Socks5 proxy
 tor_socks5_proxy = "socks5://127.0.0.1:9050"
 ```
+If you prefer to connect only to `tor` nodes, remove `tcp+tls` from both allowed and mixed transports.
 
 ### Inbound node settings