|
@@ -0,0 +1,82 @@
|
|
|
|
|
+## darkfid configuration file
|
|
|
|
|
+##
|
|
|
|
|
+## Please make sure you go through all the settings so you can configure
|
|
|
|
|
+## your daemon properly.
|
|
|
|
|
+##
|
|
|
|
|
+## The default values are left commented. They can be overridden either by
|
|
|
|
|
+## uncommenting, or by using the command-line.
|
|
|
|
|
+
|
|
|
|
|
+# Chain to use (testnet, mainnet)
|
|
|
|
|
+chain = "testnet"
|
|
|
|
|
+
|
|
|
|
|
+# Path to the wallet database
|
|
|
|
|
+wallet_path = "~/.config/darkfi/darkfid_wallet.db"
|
|
|
|
|
+
|
|
|
|
|
+# Password for the wallet database
|
|
|
|
|
+wallet_pass = "changeme"
|
|
|
|
|
+
|
|
|
|
|
+# Path to the blockchain database directory
|
|
|
|
|
+database = "~/.config/darkfi/darkfid_blockchain"
|
|
|
|
|
+
|
|
|
|
|
+# JSON-RPC listen URL
|
|
|
|
|
+rpc_listen = "tcp://127.0.0.1:18340"
|
|
|
|
|
+
|
|
|
|
|
+# Participate in the consensus protocol
|
|
|
|
|
+consensus = true
|
|
|
|
|
+
|
|
|
|
|
+# P2P accept addresses for the consensus protocol
|
|
|
|
|
+consensus_p2p_accept = ["tcp://127.0.0.1:8341"]
|
|
|
|
|
+
|
|
|
|
|
+# P2P external addresses for the consensus protocol
|
|
|
|
|
+consensus_p2p_external = ["tcp://127.0.0.1:8341"]
|
|
|
|
|
+
|
|
|
|
|
+# Connection slots for the consensus protocol
|
|
|
|
|
+consensus_slots = 0
|
|
|
|
|
+
|
|
|
|
|
+# Seed nodes to connect to for the consensus protocol
|
|
|
|
|
+#consensus_p2p_seed = []
|
|
|
|
|
+
|
|
|
|
|
+# Seed nodes JSON-RPC listen URL for clock synchronization
|
|
|
|
|
+#consensus_seed_rpc = []
|
|
|
|
|
+
|
|
|
|
|
+# Peers to connect to for the consensus protocol
|
|
|
|
|
+#consensus_p2p_peer = []
|
|
|
|
|
+
|
|
|
|
|
+# Peers JSON-RPC listen URL for clock synchronization
|
|
|
|
|
+#consensus_peer_rpc = []
|
|
|
|
|
+
|
|
|
|
|
+# Prefered transports of outbound connections for the consensus protocol
|
|
|
|
|
+#consensus_p2p_transports = ["tls", "tcp"]
|
|
|
|
|
+
|
|
|
|
|
+# P2P accept addresses for the syncing protocol
|
|
|
|
|
+sync_p2p_accept = ["tcp://127.0.0.1:18342"]
|
|
|
|
|
+
|
|
|
|
|
+# P2P external addresses for the syncing protocol
|
|
|
|
|
+sync_p2p_external = ["tcp://127.0.0.1:18342"]
|
|
|
|
|
+
|
|
|
|
|
+# Connection slots for the syncing protocol
|
|
|
|
|
+sync_slots = 0
|
|
|
|
|
+
|
|
|
|
|
+# Seed nodes to connect to for the syncing protocol
|
|
|
|
|
+#sync_p2p_seed = []
|
|
|
|
|
+
|
|
|
|
|
+# Peers to connect to for the syncing protocol
|
|
|
|
|
+sync_p2p_peer = ["tcp://127.0.0.1:9342"]
|
|
|
|
|
+
|
|
|
|
|
+# Prefered transports of outbound connections for the syncing protocol
|
|
|
|
|
+#sync_p2p_transports = ["tls", "tcp"]
|
|
|
|
|
+
|
|
|
|
|
+# Enable localnet hosts
|
|
|
|
|
+localnet = true
|
|
|
|
|
+
|
|
|
|
|
+# Enable channel log
|
|
|
|
|
+#channel_log = true
|
|
|
|
|
+
|
|
|
|
|
+# Whitelisted cashier addresses
|
|
|
|
|
+#cashier_pub = []
|
|
|
|
|
+
|
|
|
|
|
+# Whitelisted faucet addresses
|
|
|
|
|
+faucet_pub = ["6R86xQZMWpPkmevs4LTL7AGfXzFoH3ohpq2N35xd7nBH"]
|
|
|
|
|
+
|
|
|
|
|
+# Verify system clock is correct
|
|
|
|
|
+#clock_sync = true
|