minerd.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. # 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 = "testnet"
  24. # Localnet blockchain network configuration
  25. [network_config."localnet"]
  26. # Wallet mining address to receive mining rewards
  27. recipient = "YOUR_WALLET_ADDRESS_HERE"
  28. # Optional contract spend hook to use in the mining reward
  29. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  30. # Optional contract user data to use in the mining reward.
  31. # This is not arbitrary data.
  32. #user_data = "YOUR_USER_DATA_HERE"
  33. # darkfid JSON-RPC endpoint
  34. endpoint = "tcp://127.0.0.1:8240"
  35. # Testnet blockchain network configuration
  36. [network_config."testnet"]
  37. # Wallet mining address to receive mining rewards
  38. recipient = "YOUR_WALLET_ADDRESS_HERE"
  39. # Optional contract spend hook to use in the mining reward
  40. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  41. # Optional contract user data to use in the mining reward.
  42. # This is not arbitrary data.
  43. #user_data = "YOUR_USER_DATA_HERE"
  44. # darkfid JSON-RPC endpoint
  45. endpoint = "tcp://127.0.0.1:8340"
  46. # Mainnet blockchain network configuration
  47. [network_config."mainnet"]
  48. # Wallet mining address to receive mining rewards
  49. recipient = "YOUR_WALLET_ADDRESS_HERE"
  50. # Optional contract spend hook to use in the mining reward
  51. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  52. # Optional contract user data to use in the mining reward.
  53. # This is not arbitrary data.
  54. #user_data = "YOUR_USER_DATA_HERE"
  55. # darkfid JSON-RPC endpoint
  56. endpoint = "tcp://127.0.0.1:8440"