Kaynağa Gözat

bin: Config file cleanup

parazyd 2 yıl önce
ebeveyn
işleme
73a4b23cf3

+ 4 - 0
bin/darkfid2/darkfid_config.toml

@@ -54,6 +54,10 @@ allowed_transports = ["tcp+tls"]
 # attempted. (This does not include manual connections)
 outbound_connections = 8
 
+# Inbound connections slots number, this many active inbound connections
+# will be allowed. (This does not include manual or outbound connections)
+#inbound_connections = 0
+
 # Manual connections retry limit, 0 for forever looping
 #manual_attempt_limit = 0
 

+ 6 - 3
bin/darkirc/darkirc_config.toml

@@ -26,8 +26,8 @@ autojoin = [
     "#random",
 ]
 
-## Daemon specific password (optional, but once you configure it,
-## it is required from the client side)
+## IRC server specific password
+## (optional, but once configured, it is required from the IRC client side)
 #password = "CHANGE_ME"
 
 # P2P network settings
@@ -35,9 +35,12 @@ autojoin = [
 ## P2P accept addresses
 #inbound = ["tcp+tls://0.0.0.0:26661", "tcp+tls://[::]:26661"]
 
-## Connection slots
+## Outbound connection slots
 outbound_connections = 8
 
+## Inbound connection slots
+#inbound_connections = 0
+
 ## Addresses we want to advertise to peers (optional)
 ## These should be reachable externally
 #external_addrs = ["tcp+tls://my.resolveable.address:26661"]

+ 12 - 9
bin/tau/taud/taud_config.toml

@@ -1,7 +1,10 @@
+## This is the tau daemon configuration file.
+## Review it carefully.
+
 ## JSON-RPC listen URL
 #rpc_listen="tcp://127.0.0.1:23330"
 
-## Sets Datastore Path
+## Datastore Path
 #datastore = "~/.local/darkfi/tau"
 
 ## Current display name
@@ -13,17 +16,17 @@ workspaces = ["darkfi-dev:2bCqQTd8BJgeUzH7JQELZxjQuWS8aCmXZ9C6w7ktNS1v"]
 # P2P network settings
 [net]
 ## P2P accept addresses
-#inbound = ["tcp+tls://127.0.0.1:23331"]
+#inbound = ["tcp+tls://0.0.0.0:23331", "tcp+tls://[::]:23331"]
 
-## Connection slots
+## Outbound connection slots
 outbound_connections = 8
 
-## Addresses we want to advertise to peers
-## These should be reachable externally
-#external_addrs = ["tcp+tls://127.0.0.1:23331"]
+## Inbound connection slots
+inbound_connections = 0
 
-## Specific peers to connect to
-#peers = ["tcp+tls://127.0.0.1:23331"]
+## Addresses we want to advertise to peers (optional)
+## These should be reachable externally
+#external_addrs = ["tcp+tls://my.resolveable.address:23331"]
 
 ## Seed nodes to connect to
 seeds = [
@@ -37,4 +40,4 @@ allowed_transports = ["tcp+tls"]
 # Enable transport mixing
 # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
 # By default this is not allowed.
-#transport_mixing = false
+transport_mixing = false