فهرست منبع

darkirc: Update config file with Tor examples

parazyd 2 سال پیش
والد
کامیت
26075d753d
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      bin/darkirc/darkirc_config.toml

+ 6 - 4
bin/darkirc/darkirc_config.toml

@@ -14,10 +14,10 @@
 #irc_tls_secret = "/etc/letsencrypt/darkirc/privkey.pem"
 
 ## Sets Datastore Path
-#datastore = "~/.local/darkfi/darkirc_db"
+#datastore = "~/.local/darkfi/darkirc/darkirc_db"
 
 ## Sets DB logs replay datastore path
-#replay_datastore = "~/.local/darkfi/replayed_darkirc_db"
+#replay_datastore = "~/.local/darkfi/darkirc/replayed_darkirc_db"
 
 ## Run in replay mode to store Sled DB instructions
 ## (for eventgraph debugging tool)
@@ -51,13 +51,14 @@ autojoin = [
 # P2P network settings
 [net]
 # Path to the P2P datastore
-datastore = "~/.local/darkifi/darkirc"
+datastore = "~/.local/darkfi/darkirc"
 
 # Path to a configured hostlist for saving known peers
-hostlist = "~/.local/darkfi/darkirc/hostlist.tsv"
+hostlist = "~/.local/darkfi/darkirc/p2p_hostlist.tsv"
 
 ## P2P accept addresses
 #inbound = ["tcp+tls://0.0.0.0:26661", "tcp+tls://[::]:26661"]
+#inbound = ["tor://127.0.0.1:26661"]
 
 ## Outbound connection slots
 # outbound_connections = 8
@@ -89,6 +90,7 @@ seeds = [
 # Whitelisted transports for outbound connections
 allowed_transports = ["tcp+tls"]
 #allowed_transports = ["tor"]
+#allowed_transports = ["tor", "tor+tls"]
 
 # Enable transport mixing
 # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://