Răsfoiți Sursa

contrib/localnet: set ['tls', 'tcp'] as default transport protocols

aggstam 3 ani în urmă
părinte
comite
a9e9a3fd4c

+ 1 - 1
README.md

@@ -37,7 +37,7 @@ Minimum Rust version supported is **1.67.0 (stable)**.
 
 The following dependencies are also required:
 
-|   Dependency   |   Debian-based   |   
+|   Dependency   |   Debian-based   |
 |----------------|------------------|
 | git            | git              |
 | make           | make             |

+ 2 - 2
contrib/localnet/darkfid-five-nodes/darkfid0.toml

@@ -43,7 +43,7 @@ consensus_p2p_external = ["tcp://127.0.0.1:8341"]
 #consensus_p2p_peer = []
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8342"]
@@ -61,7 +61,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8342"]
 #sync_p2p_peer = []
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid-five-nodes/darkfid1.toml

@@ -43,7 +43,7 @@ consensus_p2p_external = ["tcp://127.0.0.1:8441"]
 consensus_p2p_peer = ["tcp://127.0.0.1:8341"]
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8442"]
@@ -61,7 +61,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8442"]
 sync_p2p_peer = ["tcp://127.0.0.1:8342"]
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid-five-nodes/darkfid2.toml

@@ -43,7 +43,7 @@ consensus_p2p_external = ["tcp://127.0.0.1:8541"]
 consensus_p2p_peer = ["tcp://127.0.0.1:8341", "tcp://127.0.0.1:8441"]
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8542"]
@@ -61,7 +61,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8542"]
 sync_p2p_peer = ["tcp://127.0.0.1:8342", "tcp://127.0.0.1:8442"]
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid-five-nodes/darkfid3.toml

@@ -43,7 +43,7 @@ consensus_p2p_external = ["tcp://127.0.0.1:8641"]
 consensus_p2p_peer = ["tcp://127.0.0.1:8341", "tcp://127.0.0.1:8441", "tcp://127.0.0.1:8541"]
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8642"]
@@ -61,7 +61,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8642"]
 sync_p2p_peer = ["tcp://127.0.0.1:8342", "tcp://127.0.0.1:8442", "tcp://127.0.0.1:8542"]
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid-five-nodes/darkfid4.toml

@@ -43,7 +43,7 @@ consensus_p2p_external = ["tcp://127.0.0.1:8741"]
 consensus_p2p_peer = ["tcp://127.0.0.1:8341", "tcp://127.0.0.1:8441", "tcp://127.0.0.1:8541", "tcp://127.0.0.1:8641"]
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8742"]
@@ -61,7 +61,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8742"]
 sync_p2p_peer = ["tcp://127.0.0.1:8342", "tcp://127.0.0.1:8442", "tcp://127.0.0.1:8542", "tcp://127.0.0.1:8642"]
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid-single-node/darkfid0.toml

@@ -44,7 +44,7 @@ consensus_p2p_external = ["tcp://127.0.0.1:8341"]
 
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8342"]
@@ -62,7 +62,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8342"]
 #sync_p2p_peer = []
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 1 - 1
contrib/localnet/darkfid-single-node/faucetd.toml

@@ -37,7 +37,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8442"]
 sync_p2p_peer = ["tcp://127.0.0.1:8342"]
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid-small/darkfid0.toml

@@ -43,7 +43,7 @@ consensus_p2p_external = ["tcp://127.0.0.1:8341"]
 #consensus_p2p_peer = []
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8342"]
@@ -61,7 +61,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8342"]
 #sync_p2p_peer = []
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid-small/darkfid1.toml

@@ -43,7 +43,7 @@ consensus_p2p_external = ["tcp://127.0.0.1:8441"]
 consensus_p2p_peer = ["tcp://127.0.0.1:8341"]
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8442"]
@@ -61,7 +61,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8442"]
 sync_p2p_peer = ["tcp://127.0.0.1:8342"]
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid-small/darkfid2.toml

@@ -43,7 +43,7 @@ single_node = false
 #consensus_p2p_peer = []
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8542"]
@@ -61,7 +61,7 @@ sync_p2p_external = ["tcp://127.0.0.1:8542"]
 sync_p2p_peer = ["tcp://127.0.0.1:8342", "tcp://127.0.0.1:8442"]
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid/darkfid0.toml

@@ -44,7 +44,7 @@ consensus_p2p_seed = ["tcp://127.0.0.1:33033"]
 
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8342"]
@@ -62,7 +62,7 @@ sync_p2p_seed = ["tcp://127.0.0.1:33032"]
 #sync_p2p_peer = []
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid/darkfid1.toml

@@ -49,7 +49,7 @@ consensus_seed_rpc = ["tcp://127.0.0.1:8340"]
 #consensus_peer_rpc = []
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8442"]
@@ -67,7 +67,7 @@ sync_p2p_seed = ["tcp://127.0.0.1:33032"]
 #sync_p2p_peer = []
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 2 - 2
contrib/localnet/darkfid/darkfid2.toml

@@ -43,7 +43,7 @@ single_node = false
 #consensus_p2p_peer = []
 
 # Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
+consensus_p2p_transports = ["tls", "tcp"]
 
 # P2P accept addresses for the syncing protocol
 sync_p2p_accept = ["tcp://127.0.0.1:8542"]
@@ -61,7 +61,7 @@ sync_p2p_seed = ["tcp://127.0.0.1:33032"]
 #sync_p2p_peer = []
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 1 - 1
contrib/localnet/darkfid/faucetd.toml

@@ -37,7 +37,7 @@ sync_p2p_seed = ["tcp://127.0.0.1:33032"]
 #sync_p2p_peer = []
 
 # Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
+sync_p2p_transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 1 - 1
contrib/localnet/fud/fud_config0.toml

@@ -28,7 +28,7 @@ seeds = ["tcp://127.0.0.1:13337"]
 #peers = []
 
 # Prefered transports for outbound connections
-#transports = ["tls", "tcp"]
+transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true

+ 1 - 1
contrib/localnet/fud/fud_config1.toml

@@ -28,7 +28,7 @@ seeds = ["tcp://127.0.0.1:13337"]
 #peers = []
 
 # Prefered transports for outbound connections
-#transports = ["tls", "tcp"]
+transports = ["tls", "tcp"]
 
 # Enable localnet hosts
 localnet = true