Files
darkfi/contrib/localnet/darkfid1.toml
2022-05-16 13:16:04 +02:00

59 lines
1.5 KiB
TOML

## 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 = "darkfid1/wallet.db"
# Password for the wallet database
wallet_pass = "changeme"
# Path to the blockchain database directory
database = "darkfid1/blockchain"
# JSON-RPC listen url
rpc_listen = "tcp://127.0.0.1:8440"
# Participate in the consensus protocol
consensus = true
# P2P accept address for the consensus protocol
consensus_p2p_accept = "tls://127.0.0.1:8441"
# P2P external address for the consensus protocol
consensus_p2p_external = "tls://127.0.0.1:8441"
# Connection slots for the consensus protocol
#consensus_slots = 8
# Connection slots for the consensus protocol
consensus_p2p_seed = ["tls://127.0.0.1:8341"]
# Peers to connect to for the consensus protocol
#consensus_p2p_peer = []
# P2P accept address for the syncing protocol
sync_p2p_accept = "tls://127.0.0.1:8442"
# P2P external address for the syncing protocol
sync_p2p_external = "tls://127.0.0.1:8442"
# Connection slots for the syncing protocol
#sync_slots = 8
# Seed nodes to connect to for the syncing protocol
sync_p2p_seed = ["tls://127.0.0.1:8342"]
# Peers to connect to for the syncing protocol
#sync_p2p_peer = []
# Whitelisted faucet public key
faucet_pub = ["1z3JuN456MieHtpoF4cr5a1ntFF87L8Z3m2E5ACppFodFcjnLS"]