minerd.toml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. # PoW miner number of threads to use
  9. #threads = 4
  10. # Polling rate to ask darkfid for mining jobs
  11. #polling_rate = 2
  12. # Stop mining at given height (0 mines forever)
  13. #stop_at_height = 0
  14. # Blockchain network to use
  15. network = "testnet"
  16. # Localnet blockchain network configuration
  17. [network_config."localnet"]
  18. # Wallet mining address to receive mining rewards
  19. recipient = "YOUR_WALLET_ADDRESS_HERE"
  20. # Optional contract spend hook to use in the mining reward
  21. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  22. # Optional contract user data to use in the mining reward.
  23. # This is not arbitrary data.
  24. #user_data = "YOUR_USER_DATA_HERE"
  25. # darkfid JSON-RPC endpoint
  26. endpoint = "tcp://127.0.0.1:8240"
  27. # Testnet blockchain network configuration
  28. [network_config."testnet"]
  29. # Wallet mining address to receive mining rewards
  30. recipient = "YOUR_WALLET_ADDRESS_HERE"
  31. # Optional contract spend hook to use in the mining reward
  32. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  33. # Optional contract user data to use in the mining reward.
  34. # This is not arbitrary data.
  35. #user_data = "YOUR_USER_DATA_HERE"
  36. # darkfid JSON-RPC endpoint
  37. endpoint = "tcp://127.0.0.1:8340"
  38. # Mainnet blockchain network configuration
  39. [network_config."mainnet"]
  40. # Wallet mining address to receive mining rewards
  41. recipient = "YOUR_WALLET_ADDRESS_HERE"
  42. # Optional contract spend hook to use in the mining reward
  43. #spend_hook = "YOUR_SPEND_HOOK_HERE"
  44. # Optional contract user data to use in the mining reward.
  45. # This is not arbitrary data.
  46. #user_data = "YOUR_USER_DATA_HERE"
  47. # darkfid JSON-RPC endpoint
  48. endpoint = "tcp://127.0.0.1:8440"