minerd4.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ## minerd 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. # Number of nonces to execute in system hashrate benchmark
  9. #bench = 1000
  10. # Flag indicating whether to run miner in light mode
  11. light_mode = false
  12. # Flag indicating whether to run miner with Large Pages
  13. large_pages = false
  14. # Flag indicating whether to run miner with secure access to JIT memory (if supported)
  15. secure = false
  16. # PoW miner number of threads to use
  17. threads = 1
  18. # Polling rate to ask darkfid for mining jobs
  19. #polling_rate = 2
  20. # Stop mining at given height (0 mines forever)
  21. #stop_at_height = 0
  22. # Blockchain network to use
  23. network = "localnet"
  24. # Localnet blockchain network configuration
  25. [network_config."localnet"]
  26. # Wallet mining address to receive mining rewards.
  27. # This is a dummy one so the miner can start,
  28. # replace with your own one.
  29. recipient = "DZnsGMCvZU5CEzvpuExnxbvz6SEhE2rn89sMcuHsppFE6TjL4SBTrKkf"
  30. # Optional contract spend hook to use in the mining reward
  31. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  32. # Optional contract user data to use in the mining reward.
  33. # This is not arbitrary data.
  34. #user_data = "YOUR_USER_DATA_HERE"
  35. # darkfid JSON-RPC endpoint
  36. endpoint = "tcp://127.0.0.1:48640"