Skip to content

Commit e3a0483

Browse files
authored
web(dashboard): relabel /local_stats DOA meter honestly (#713)
The c2pool Hash Rate card labeled pool_stale_prop as "DOA+Orphan". At low share-difficulty that value is dominated by benign sharechain orphan churn (observed 0.959 on contabo LTC prod while true dead_hashrate = 0, reward = 100%), so operators misread it as ~100% lost work (DOA). Relabel it "Stale shares" and add truthful tooltips: the pool stale-share rate is share-count-based and does not reduce miner reward; the true lost-work signal is the hashrate-based local DOA meter (dead_hashrate/hashrate). Also clarify that share Efficiency is share-count based and orphan churn lowers it without cutting PPLNS payout. Label/tooltip only -- no computation change. Static drop-in (--dashboard-dir), reversible. Charter #1: a dashboard must never lie about prod health. Co-authored-by: frstrtr <frstrtr@users.noreply.github.com>
1 parent 8e5d920 commit e3a0483

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

web-static/dashboard.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ <h1>c2pool</h1>
17991799
<div class="stat-card">
18001800
<h3><span class="icon">🌐</span> c2pool Hash Rate</h3>
18011801
<div class="stat-value primary" id="pool_rate">-</div>
1802-
<div class="stat-sub">DOA+Orphan: <span id="pool_stale">-</span></div>
1802+
<div class="stat-sub" title="Pool sharechain stale-share rate (orphan + dead shares). High at low share-difficulty and does NOT reduce miner reward -- true lost work is the hashrate DOA meter. Sourced from share counts.">Stale shares: <span id="pool_stale">-</span></div>
18031803
<div class="stat-detail">Share Difficulty: <span id="difficulty">-</span></div>
18041804
</div>
18051805
<!-- V36 crossing-state: truthful ratchet visibility from /v36_status (charter #3) -->
@@ -1825,15 +1825,15 @@ <h3><span class="icon">🧭</span> Node Topology <span id="node_topology_symbol"
18251825
<div class="stat-card">
18261826
<h3><span class="icon">⛏️</span> Local Hash Rate</h3>
18271827
<div class="stat-value success" id="local_rate">-</div>
1828-
<div class="stat-sub">DOA: <span id="local_doa">-</span></div>
1828+
<div class="stat-sub" title="Dead-on-arrival = local dead_hashrate / local hashrate -- the true lost-work / unrewarded fraction. Sourced from live hashrate, not share counts.">DOA: <span id="local_doa">-</span></div>
18291829
<div class="stat-detail">Expected Share: <span id="time_to_share">-</span></div>
18301830
</div>
18311831

18321832
<div class="stat-card" id="shares_card">
18331833
<h3><span class="icon">📊</span> Shares</h3>
18341834
<div class="stat-value" style="display: flex; align-items: baseline; justify-content: flex-start; gap: 6px;"><span id="shares_total">-</span><span id="share_versions_line" style="font-size: 0.4em; font-weight: 400; opacity: 0.7;"></span></div>
18351835
<div class="stat-sub">Orphan: <span id="shares_orphan">-</span> | Dead: <span id="shares_dead">-</span></div>
1836-
<div class="stat-detail">Efficiency: <span id="efficiency">-</span></div>
1836+
<div class="stat-detail" title="Share efficiency = unstale / total sharechain shares. At low share-difficulty, orphan churn lowers this without reducing payout -- PPLNS rewards accepted work.">Efficiency: <span id="efficiency">-</span></div>
18371837
</div>
18381838

18391839
<div class="stat-card">

0 commit comments

Comments
 (0)