Show hashboards and SHA-256 for VNish models asic-rs does not know #19

Merged
noah merged 1 commits from fix/vnish-unknown-model-boards into main 2026-11-03 08:48:13 -07:00
Owner

Field report: VNish Antminer S19 (88) units showed no hashboard icons while hashing.

Cause. VNish reports the model as "Antminer S19 (88)". That isn't in asic-rs' alias table, so it parses as Unknown, which has no hardware table. The VNish backends sized the board list from that table, so they produced 0 boards and dropped the 3 chains the miner reports in /summary. The Unknown model also got an unknown hash algorithm, so the KPI read "Unknown Hashrate".

Fix (asic-rs patch 0034).

  • VNish 1.2.x and 1.3.x: when a model has no hardware table, size the boards from the highest chain id the miner reports. Known models are unchanged.
  • Algorithm: infer it from the Antminer family letter. The helper moved from the stock backend into asic-rs-makes-antminer and is shared by both backends.

Verified.

  • New unit tests in both VNish backends, built from the live chain data; all 65 tests in the three crates pass.
  • Live, read-only scan of all 13 fleet S19 (88) units: three hashboard icons each, with per-board state (one red board on 10.4.1.111, amber on slow units), and the KPI reads "SHA-256 Hashrate".

Generated with Claude Code

Field report: VNish Antminer S19 (88) units showed no hashboard icons while hashing. **Cause.** VNish reports the model as "Antminer S19 (88)". That isn't in asic-rs' alias table, so it parses as `Unknown`, which has no hardware table. The VNish backends sized the board list from that table, so they produced 0 boards and dropped the 3 chains the miner reports in `/summary`. The Unknown model also got an unknown hash algorithm, so the KPI read "Unknown Hashrate". **Fix (asic-rs patch 0034).** - VNish 1.2.x and 1.3.x: when a model has no hardware table, size the boards from the highest chain id the miner reports. Known models are unchanged. - Algorithm: infer it from the Antminer family letter. The helper moved from the stock backend into `asic-rs-makes-antminer` and is shared by both backends. **Verified.** - New unit tests in both VNish backends, built from the live chain data; all 65 tests in the three crates pass. - Live, read-only scan of all 13 fleet S19 (88) units: three hashboard icons each, with per-board state (one red board on 10.4.1.111, amber on slow units), and the KPI reads "SHA-256 Hashrate". Generated with [Claude Code](https://claude.com/claude-code)
noah added 1 commit 2026-11-03 08:32:30 -07:00
Show hashboards and SHA-256 for VNish models asic-rs does not know
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 8m50s
verify / verify-windows (pull_request) Successful in 6m16s
ff0cc90b62
VNish reports the 88-chip S19 as "Antminer S19 (88)", which asic-rs parses
to an Unknown model with no hardware table. The VNish backends sized the
board list from that table, so all three live chains were dropped and the
Health column drew no hashboard icons for hashing miners; the same model also
got an Unknown hash algorithm. Size boards from the chains the miner reports
when the table is missing, and infer the algorithm from the Antminer family
letter (helper shared with the stock backend). asic-rs patch 0034.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
noah merged commit 0949870a14 into main 2026-11-03 08:48:13 -07:00
Sign in to join this conversation.