• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / TaipanMiner / 26733673553
90%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 03:33AM UTC
Jobs 3
Files 106
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jun 2026 03:33AM UTC coverage: 90.042% (+0.01%) from 90.031%
26733673553

push

github

web-flow
fix(mining): reverify HW-SHA shares to drop DPORT-corrupt reads; add stats-reset endpoint (#475)

On classic ESP32 (D0) the DPORT cross-bus erratum can return a corrupt
HW-SHA result. The existing guard only dropped all-zero corrupt reads; a
partially-corrupt read (a few leading-zero bytes, not all-zero) passed the
target compare, was recorded as a garbage record best_diff (~1e10), and
because it exceeded the DGB network target it fired a phantom block — then
persisted to NVS. The ASIC path already re-verifies in software; this brings
the HW-SHA dongle path to parity.

- share_validate: add share_reverify() — recompute SHA256d in software for
  the winning nonce and compare to the HW hash; mismatch means a corrupt read
- mining: drop the share (no best_diff, no block, no submit) when reverify
  fails, right after share_validate returns SHARE_VALID
- mining_pool_stats: add mining_pool_stats_reset() (zero pool slots + lifetime
  counters under mutex, persist via mining_pool_stats_save)
- mining: add mining_stats_session_reset() (zero session under mutex)
- webui: POST /api/stats/reset zeroes session + pool/lifetime stats, returns 204
- webui: System page gains a ConfirmDialog-guarded "Reset stats" action +
  resetStats() api helper
- webui embed: drop the now-unemitted index3.js chunk from the asset list +
  routes table (the System change shifted vite's shared-chunk graph; TA-408
  tracks generating the embed list to stop this recurring)
- tests: host coverage for share_reverify (good hash kept, byte-flipped
  dropped) and mining_pool_stats_reset; frontend tests for resetStats + the
  System reset action

Validated on esp32-wroom32: scrubbed the corrupt persisted best_diff/block to
0, mining continues at ~360 kH/s, a fresh real share is accepted with a sane
best_diff, ota_validated=true, heap healthy.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

2765 of 3487 branches covered (79.29%)

Branch coverage included in aggregate %.

40 of 40 new or added lines in 4 files covered. (100.0%)

5409 of 5591 relevant lines covered (96.74%)

147734.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 e2e - 26733673553.1 01 Jun 2026 03:35AM UTC 56
58.34
GitHub Action Run
2 webui - 26733673553.2 01 Jun 2026 03:34AM UTC 77
90.83
GitHub Action Run
3 native - 26733673553.3 01 Jun 2026 03:33AM UTC 29
90.19
GitHub Action Run
Source Files on build 26733673553
  • Tree
  • List 106
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26733673553
  • 7e569312 on github
  • Prev Build on main (#26731785207)
  • Next Build on main (#26734591816)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc