/ contrib / localnet / darkfid-five-nodes / darkfid3.toml
darkfid3.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 = "darkfid3"
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:48767"
22  
23  # PoW block production target, in seconds
24  pow_target = 60
25  
26  # Wallet address to receive mining rewards.
27  # This is a dummy one so the miner can start,
28  # replace with your own one.
29  recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
30  
31  # Optional contract spend hook to use in the mining reward
32  #spend_hook = "YOUR_SPEND_HOOK_HERE"
33  
34  # Optional contract user data to use in the mining reward.
35  # This is not arbitrary data.
36  #user_data = "YOUR_USER_DATA_HERE"
37  
38  # Skip syncing process and start node right away
39  skip_sync = false
40  
41  # Disable transaction's fee verification, used for testing
42  skip_fees = false
43  
44  # Optional sync checkpoint height
45  #checkpoint_height = 0
46  
47  # Optional sync checkpoint hash
48  #checkpoint = ""
49  
50  # Optional bootstrap timestamp
51  #bootstrap = 1712581283
52  
53  ## Localnet JSON-RPC settings
54  [network_config."localnet".rpc]
55  # JSON-RPC listen URL
56  rpc_listen = "tcp://127.0.0.1:48540"
57  
58  # Disabled RPC methods
59  #rpc_disabled_methods = ["p2p.get_info"]
60  
61  ## Localnet P2P network settings
62  [network_config."localnet".net]
63  # P2P accept addresses the instance listens on for inbound connections
64  inbound = ["tcp+tls://0.0.0.0:48542"]
65  
66  # Whitelisted network transports for outbound connections
67  allowed_transports = ["tcp+tls"]
68  
69  # Peer nodes to manually connect to
70  peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342", "tcp+tls://0.0.0.0:48442"]
71  
72  # Allow localnet hosts
73  localnet = true