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

dangernoodle-io / TaipanMiner / 26553245725
90%

Build:
DEFAULT BRANCH: main
Ran 28 May 2026 03:41AM UTC
Jobs 3
Files 102
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 May 2026 03:40AM UTC coverage: 90.151%. Remained the same
26553245725

push

github

web-flow
jae/mining sw filter byteorder cleanup (#440)

* fix(mining): correct SW-path target byte order + filter regression tests

pack_target_word0 packed target[28] as the high byte, but target is
little-endian (target[31]=MSB). the SW early-reject then compared raw
state[7] (= bswap of the true PoW MSB word) against that byte-reversed
target word — i.e. bswap(hash_msw) <= bswap(target_msw). byte-swapping
both sides is not monotonic, so the comparison was meaningless and the
filter passed nearly every nonce (same class of bug as the D0 kernel
filter fixed in #439).

this was invisible at the mine_nonce_range level because meets_target is
the final arbiter there — the early-reject is purely an optimization, so a
no-op filter still yields correct found/not-found. only correctness was
unaffected; the SW path (host tests + native builds) just did redundant
work. fix: pack the true MSB word (target[31]<<24|...|target[28]) and
compare bswap32(state[7]) against it.

add regression tests that catch this class directly:
- test_pack_target_word0_exact_byte_order: asserts exact true-MSB packing
- test_sw_hash_nonce_rejects_over_target: calls sw_hash_nonce directly so
  HASH_CHECK/HASH_MISS selectivity is observable (a no-op filter wrongly
  returns HASH_CHECK for an over-target hash). both fail on the old code.

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

* refactor(mining): remove dead two-pass AHB mining helpers

sha256_hw_mine_first / sha256_hw_mine_second were the old two-call S3
mining path, superseded by the inline zero-bswap pipeline (Phase 3
hw_hot_loop_kernel). neither has any caller (only their own decl +
def). mine_second additionally carried a latent byte-reversed target
compare (same bug class as the SW path), unreachable but misleading.
remove both and their stale header comments.

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

---------

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

2549 of 3217 branches covered (79.24%)

Branch coverage included in aggregate %.

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

5158 of 5332 relevant lines covered (96.74%)

154885.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 native - 26553245725.1 28 May 2026 03:41AM UTC 29
90.48
GitHub Action Run
2 e2e - 26553245725.2 28 May 2026 03:42AM UTC 55
56.56
GitHub Action Run
3 webui - 26553245725.3 28 May 2026 03:41AM UTC 73
91.16
GitHub Action Run
Source Files on build 26553245725
  • Tree
  • List 102
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26553245725
  • 06c2a06b on github
  • Prev Build on main (#26552447225)
  • Next Build on main (#26556064842)
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