Skip to content

Vardif needs better explanation, and to show progress in the UI, until Vardiff kicks in, users are reporting 'stats are off" type of issues. #42

@pavlenex

Description

@pavlenex

There's a lot of confusion until proper varrdif gets adjusted. Users are reporting "stats are off"

We need to ensure UI properly elaborates how adjustment is working and educate user around it

Image

Image

The UI shows nominal_hashrate, not measured hashrate. Nominal_hashrate is derived from the difficulty assigned to the miner, not from actually counting submitted shares.

  1. Miner connects → translator opens an SV2 channel with some initial nominal hashrate (e.g. 100 TH/s based on initial difficulty)
  2. UI polls every 3 seconds and immediately shows that 100 TH/s
  3. Vardiff hasn't run yet it only fires every X seconds
  4. After 60s, vardiff measures shares submitted, realizes actual hashrate is ~46 TH/s, adjusts difficulty down
    nominal_hashrate finally corrects to ~46 TH/s
  5. UI catches up within the next 3s poll
  6. So in the worst case a user sees the wrong hashrate for X after connect, and possibly several minutes if shares are sparse (BitAxe scenario).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions