Skip to content

Workaround for MPOS difficulty calculation hassle on multi-stratum #371

@HashUnlimited

Description

@HashUnlimited

Hi there,

As we all know, MPOS requires it's difficulty setting to match the stratum's POOL_TARGET in it's own way.
So running one pool for all different kinds of users from GPU to Nicehash power requires more than one instance of the stratum running in parallel. In order for MPOS to show up with correct numbers, all of those config must have the same POOL_TARGET.
And here is the problem, in order to handle large hashrates properly, the value must be HIGH (I use 8k as Nicehash suggests) for the initial difficulty. Now it is possible to limit the VarDiff below the POOL_TARGET, but on initial miner connection it will always start on the 8k target setting before switching down. That makes it impossible for the kids on GPUs to jump in.
Would there be any quick workaround to fix that, even in the code for a single instance, to allow the initial miner connection to start at a lower diff while for MPOS's sake still maintaining the POOL_TARGET?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions