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

dangernoodle-io / TaipanMiner / 25035849110
90%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 05:36AM UTC
Jobs 1
Files 24
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

28 Apr 2026 05:35AM UTC coverage: 92.075% (+0.1%) from 91.95%
25035849110

push

github

web-flow
jae/ta 274 asic share validator (#238)

* refactor(stratum): rename stratum.c to stratum_io.c (TA-273 Phase 5)

File now reflects that it contains only the IO shell (sockets, reconnect,
watchdog, dispatcher) after protocol handlers and message builders were
extracted to stratum_machine.c in Phases 1-4 (TA-273 closes).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* refactor(asic): extract pure share validator (TA-274)

Extracts the inline SHA256d validation block from asic_task.c into a
host-testable pure function asic_share_validate(). Also implements the
declared-but-stub package_result() (was already in mining.c, confirmed).

- asic_share_validator.h: four verdicts (OK, BELOW_TARGET, INVALID_TARGET,
  LOW_DIFFICULTY); pure function, no HW/RTOS/globals
- asic_share_validator.c: mirrors asic_task.c byte order exactly; nonce
  applied LE to bytes 76-79; version rolling gated on both ver_bits!=0
  and version_mask!=0
- asic_task.c: inline block replaced with asic_share_validate() +
  package_result(); s_sha_fail/s_sha_pass counters preserved
- 11 new host tests covering null guards, happy path (genesis block),
  below-target, invalid-target, low-difficulty, version rolling, nonce
  patching position, and package_result round-trip (rolling + no rolling)
- validator: 100% line coverage; total: 96.9% (above 96% floor)
- unblocks TA-186 / TA-52 share reproduction in host tests

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

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

497 of 599 branches covered (82.97%)

Branch coverage included in aggregate %.

23 of 23 new or added lines in 1 file covered. (100.0%)

1083 of 1117 relevant lines covered (96.96%)

372437.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25035849110.1 28 Apr 2026 05:36AM UTC 24
92.07
GitHub Action Run
Source Files on build 25035849110
  • Tree
  • List 24
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25035849110
  • 19acc31e on github
  • Prev Build on main (#25034565214)
  • Next Build on main (#25059788339)
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