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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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