mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
37 lines
1.0 KiB
TOML
37 lines
1.0 KiB
TOML
## minerd 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.
|
|
|
|
# PoW miner number of threads to use
|
|
threads = 1
|
|
|
|
# Polling rate to ask darkfid for mining jobs
|
|
#polling_rate = 2
|
|
|
|
# Stop mining at given height (0 mines forever)
|
|
#stop_at_height = 0
|
|
|
|
# Blockchain network to use
|
|
network = "localnet"
|
|
|
|
# Localnet blockchain network configuration
|
|
[network_config."localnet"]
|
|
# Wallet mining 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 contract user data to use in the mining reward.
|
|
# This is not arbitrary data.
|
|
#user_data = "YOUR_USER_DATA_HERE"
|
|
|
|
# darkfid JSON-RPC endpoint
|
|
endpoint = "tcp://127.0.0.1:48340"
|