darkfid0.toml
1 ## darkfid configuration file 2 ## 3 ## Please make sure you go through all the settings so you can configure 4 ## your daemon properly. 5 ## 6 ## The default values are left commented. They can be overridden either by 7 ## uncommenting, or by using the command-line. 8 9 # Blockchain network to use 10 network = "localnet" 11 12 # Localnet blockchain network configuration 13 [network_config."localnet"] 14 # Path to the blockchain database directory 15 database = "darkfid0" 16 17 # Confirmation threshold, denominated by number of blocks 18 threshold = 6 19 20 # minerd JSON-RPC endpoint 21 minerd_endpoint = "tcp://127.0.0.1:48467" 22 23 # PoW block production target, in seconds 24 pow_target = 60 25 26 # Participate in block production 27 miner = true 28 29 # Wallet address to receive mining rewards. 30 # This is a dummy one so the miner can start, 31 # replace with your own one. 32 recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U" 33 34 # Optional contract spend hook to use in the mining reward 35 #spend_hook = "YOUR_SPEND_HOOK_HERE" 36 37 # Optional contract user data to use in the mining reward. 38 # This is not arbitrary data. 39 #user_data = "YOUR_USER_DATA_HERE" 40 41 # Skip syncing process and start node right away 42 skip_sync = true 43 44 # Disable transaction's fee verification, used for testing 45 skip_fees = false 46 47 # Optional sync checkpoint height 48 #checkpoint_height = 0 49 50 # Optional sync checkpoint hash 51 #checkpoint = "" 52 53 # Optional bootstrap timestamp 54 #bootstrap = 1712581283 55 56 ## Localnet JSON-RPC settings 57 [network_config."localnet".rpc] 58 # JSON-RPC listen URL 59 rpc_listen = "tcp://127.0.0.1:48240" 60 61 # Disabled RPC methods 62 #rpc_disabled_methods = ["p2p.get_info"] 63 64 ## Localnet P2P network settings 65 [network_config."localnet".net] 66 # P2P accept addresses the instance listens on for inbound connections 67 inbound = ["tcp+tls://0.0.0.0:48242"] 68 69 # Whitelisted network transports for outbound connections 70 allowed_transports = ["tcp+tls"] 71 72 # Allow localnet hosts 73 localnet = true