Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I added a -M / --max-diff=N option to my fork -- would you be interested? #193

Open
cculianu opened this issue May 12, 2020 · 0 comments
Open

Comments

@cculianu
Copy link

cculianu commented May 12, 2020

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:

cculianu@d0e8e0e

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant