minerd.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 = 4
  18. # Assign full L3 cache to CPU
  19. cache_qos = false
  20. # Polling rate to ask darkfid for mining jobs
  21. #polling_rate = 2
  22. # Stop mining at given height (0 mines forever)
  23. #stop_at_height = 0
  24. # Blockchain network to use
  25. network = "testnet"
  26. # Localnet blockchain network configuration
  27. [network_config."localnet"]
  28. # Wallet mining address to receive mining rewards
  29. recipient = "YOUR_WALLET_ADDRESS_HERE"
  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:8240"
  37. # Testnet blockchain network configuration
  38. [network_config."testnet"]
  39. # Wallet mining address to receive mining rewards
  40. recipient = "YOUR_WALLET_ADDRESS_HERE"
  41. # Optional contract spend hook to use in the mining reward
  42. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  43. # Optional contract user data to use in the mining reward.
  44. # This is not arbitrary data.
  45. #user_data = "YOUR_USER_DATA_HERE"
  46. # darkfid JSON-RPC endpoint
  47. endpoint = "tcp://127.0.0.1:8340"
  48. # Mainnet blockchain network configuration
  49. [network_config."mainnet"]
  50. # Wallet mining address to receive mining rewards
  51. recipient = "YOUR_WALLET_ADDRESS_HERE"
  52. # Optional contract spend hook to use in the mining reward
  53. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  54. # Optional contract user data to use in the mining reward.
  55. # This is not arbitrary data.
  56. #user_data = "YOUR_USER_DATA_HERE"
  57. # darkfid JSON-RPC endpoint
  58. endpoint = "tcp://127.0.0.1:8440"