Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Make luck calculation configurable #168

@ericecook

Description

@ericecook

Right now we calculate it the inverse of the was most pools do. Since it is relatively simple to switch this making it configurable might be nice

We currently calculate it as

(block.difficulty * (2 ** 32) / block.shares_to_solve or 1 * avg_hashes_per_share) * 100

Most pools do

(block.shares_to_solve or 1 * avg_hashes_per_share / block.difficulty * (2 ** 32)) * 100

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions