mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 22:57:59 -05:00
minerd: changed comms logic so it polls darkfid for new mining jobs
This commit is contained in:
@@ -17,27 +17,12 @@ database = "darkfid"
|
||||
# Confirmation threshold, denominated by number of blocks
|
||||
threshold = 1
|
||||
|
||||
# minerd JSON-RPC endpoint
|
||||
minerd_endpoint = "tcp://127.0.0.1:48467"
|
||||
|
||||
# PoW block production target, in seconds
|
||||
pow_target = 10
|
||||
|
||||
# Optional fixed PoW difficulty, used for testing
|
||||
pow_fixed_difficulty = 1
|
||||
|
||||
# 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 = "6iW9nywZYvyhcM7P1iLwYkh92rvYtREDsC8hgqf2GLuT"
|
||||
|
||||
# Optional contract user data to use in the mining reward.
|
||||
# This is not arbitrary data.
|
||||
#user_data = "YOUR_USER_DATA_HERE"
|
||||
|
||||
# Skip syncing process and start node right away
|
||||
skip_sync = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user