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

faucetd: Sync args and config.

parazyd 4 лет назад
Родитель
Сommit
0aad546779
2 измененных файлов с 11 добавлено и 11 удалено
  1. 10 10
      bin/faucetd/faucetd_config.toml
  2. 1 1
      bin/faucetd/src/main.rs

+ 10 - 10
bin/faucetd/faucetd_config.toml

@@ -7,31 +7,31 @@
 ## uncommenting, or by using the command-line.
 
 # Chain to use (testnet, mainnet)
-chain = "testnet"
+#chain = "testnet"
 
 # Path to the wallet database
-wallet_path = "~/.config/darkfi/faucetd_wallet.db"
+#wallet_path = "~/.config/darkfi/faucetd_wallet.db"
 
 # Password for the wallet database
-wallet_pass = "changeme"
+#wallet_pass = "changeme"
 
 # Path to the blockchain database directory
-database = "~/.config/darkfi/faucetd_blockchain"
+#database = "~/.config/darkfi/faucetd_blockchain"
 
 # JSON-RPC listen URL
-rpc_listen = "tcp://127.0.0.1:8981"
+#rpc_listen = "tcp://127.0.0.1:8340"
 
 # P2P accept address for the syncing protocol
-sync_p2p_accept = "0.0.0.0:8342"
+#sync_p2p_accept = "0.0.0.0:8342"
 
 # P2P external address for the syncing protocol
-sync_p2p_external = "0.0.0.0:8342"
+#sync_p2p_external = "0.0.0.0:8342"
 
 # Connection slots for the syncing protocol
-sync_slots = 8
+#sync_slots = 8
 
 # Seed nodes to connect to for the syncing protocol
-sync_seed = []
+#sync_seed = []
 
 # Peers to connect to for the syncing protocol
-sync_peer = []
+#sync_peer = []

+ 1 - 1
bin/faucetd/src/main.rs

@@ -76,7 +76,7 @@ struct Args {
     /// Path to blockchain database
     database: String,
 
-    #[structopt(long, default_value = "tcp://127.0.0.1:5381")]
+    #[structopt(long, default_value = "tcp://127.0.0.1:8340")]
     /// JSON-RPC listen URL
     rpc_listen: Url,