Skip to content

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

@cculianu

Description

@cculianu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions