minerd.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 = "localnet"
  16. # Localnet blockchain network configuration
  17. [network_config."localnet"]
  18. # Wallet mining address to receive mining rewards.
  19. # This is a dummy one so the miner can start,
  20. # replace with your own one.
  21. recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
  22. # Optional contract spend hook to use in the mining reward.
  23. # This is the DAO spend hook set for convinience,
  24. # replace with your own one.
  25. #spend_hook = "6iW9nywZYvyhcM7P1iLwYkh92rvYtREDsC8hgqf2GLuT"
  26. # Optional contract user data to use in the mining reward.
  27. # This is not arbitrary data.
  28. #user_data = "YOUR_USER_DATA_HERE"
  29. # darkfid JSON-RPC endpoint
  30. endpoint = "tcp://127.0.0.1:48240"