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

dangernoodle-io / TaipanMiner / 25072728894
90%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 07:17PM UTC
Jobs 1
Files 26
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 07:16PM UTC coverage: 92.035%. Remained the same
25072728894

push

github

web-flow
feat(api): add /api/pool endpoint and Pool page (TA-281, TA-286) (#243)

Splits pool connection state and the most-recent stratum mining.notify
into a dedicated /api/pool endpoint so the UI no longer has to scrape
this from /api/stats + /api/settings.

Locked GET shape:
- pool config (host, port, worker, wallet) from taipan_config_*,
  always populated regardless of stratum connection.
- connected, session_start_ago_s, current_difficulty, extranonce1,
  extranonce2_size, version_mask
- notify sub-object: job_id, prev_hash, coinb1, coinb2, merkle_branches,
  version, nbits, ntime, clean_jobs (closes TA-201).

Pre-stratum-connect: connected=false; session_start_ago_s, extranonce*,
version_mask, and notify are all null; current_difficulty defaults to
the stratum_state.difficulty default (512.0).

Stratum exposes four new accessors (stratum_get_session_start_ms,
stratum_get_difficulty, stratum_get_session_snapshot,
stratum_get_job_snapshot) so taipan_web can read live state without
reaching into stratum_state_t.

- pool_difficulty is removed from /api/stats and renamed to
  current_difficulty on /api/pool. mining_stats.pool_difficulty struct
  field and its writers are intentionally left in place as a followup
  cleanup.
- Pool.svelte status section is now read-only from /api/pool; the
  primary-pool edit form keeps using /api/settings (TA-290 will move it).
- PoolStrip.svelte reads only /api/pool and shows a colored connection
  indicator (green=connected, red=down, gray=unknown).
- Hero.svelte and AlertBanner.svelte repointed to $pool.current_difficulty.

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

521 of 631 branches covered (82.57%)

Branch coverage included in aggregate %.

1143 of 1177 relevant lines covered (97.11%)

353452.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25072728894.1 28 Apr 2026 07:17PM UTC 26
92.04
GitHub Action Run
Source Files on build 25072728894
  • Tree
  • List 26
  • 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 #25072728894
  • 569adcfc on github
  • Prev Build on main (#25064388797)
  • Next Build on main (#25073379365)
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