-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Hi,
I find myself using this most excellent program of yours (really, nice work on it!!) to mine testnet on BCH, when difficulty drops to 1.0 (after 20 mins of no blocks). This happens more often than you would think on BCH testnet (a few times a day), and I just use my CPU to find blocks then to keep the chain moving for dev.
Anyway -- I have my machines running this software and I added an option, -M / --max-diff which keeps the miner from actually mining if difficulty is larger than a certain value. This is to keep your machines from burning themselves out and only mining when difficulty drops low (such as is the case on testnet BCH).
Here is a link to the commit that implements this:
Let me know if you would like me to prepare this as a pull request.
Again, great work on this software. I really like everything about it. From the fact that it builds everywhere to its assembly optimizations. Even the code is pretty readable. Good job!
-Calin