| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- ## 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.
- # Blockchain network to use
- network = "localnet"
- # Localnet blockchain network configuration
- [network_config."localnet"]
- # JSON-RPC listen URL
- rpc_listen = "tcp://127.0.0.1:48540"
- # Path to the blockchain database directory
- database = "darkfid3"
- # Finalization threshold, denominated by number of blocks
- threshold = 6
- # minerd JSON-RPC endpoint
- minerd_endpoint = "tcp://127.0.0.1:48767"
- # PoW block production target, in seconds
- pow_target = 60
- # Wallet address to receive mining rewards.
- # This is a dummy one so the miner can start,
- # replace with your own one.
- recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
- # Optional contract spend hook to use in the mining reward
- #spend_hook = "YOUR_SPEND_HOOK_HERE"
- # Optional user data to use in the mining reward
- #user_data = "YOUR_USER_DATA_HERE"
- # Skip syncing process and start node right away
- skip_sync = false
- # Disable transaction's fee verification, used for testing
- skip_fees = false
- # Optional sync checkpoint height
- #checkpoint_height = 0
- # Optional sync checkpoint hash
- #checkpoint = ""
- # Optional bootstrap timestamp
- #bootstrap = 1712581283
- ## Localnet P2P network settings
- [network_config."localnet".net]
- # P2P accept addresses the instance listens on for inbound connections
- inbound = ["tcp+tls://0.0.0.0:48542"]
- # Whitelisted network transports for outbound connections
- allowed_transports = ["tcp+tls"]
- # Peer nodes to manually connect to
- peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342", "tcp+tls://0.0.0.0:48442"]
- # Allow localnet hosts
- localnet = true
|