Skip to content

scoreboard: surface turbine-root in DZ lead-time and publishing stats#663

Open
juan-malbeclabs wants to merge 3 commits into
mainfrom
scoreboard-turbine-root
Open

scoreboard: surface turbine-root in DZ lead-time and publishing stats#663
juan-malbeclabs wants to merge 3 commits into
mainfrom
scoreboard-turbine-root

Conversation

@juan-malbeclabs

Copy link
Copy Markdown
Contributor

Summary

  • Lead-time (p50/p95) of DZ vs Turbine/Jito now pools the full DZ delivery path — leader (dz), turbine-root (edge-solana-root) and regional retransmit — so the advantage metric matches the win-rate's dz_edge aggregate instead of excluding root. Applies to both leaders-only and all-slots modes.
  • Adds two headline cards to the shreds scoreboard: Turbine-Root Publishing (count of validators publishing via the turbine-root path) and Turbine-Root Stake Weight (% of network stake behind them), computed the same way as the existing leader publishing/stake metrics.
  • Publisher check now derives per-publisher turbine-root participation (root_slots / publishing_root) from the edge-solana-root feed in publisher_shred_stats.

Why

The scoreboard already counts turbine-root wins inside dz_edge, but the lead-time stat silently excluded root, so the two DZ metrics measured different feed sets. Pooling them makes "how much DZ wins" and "by how much" consistent. The new cards give the same leader-slot stake visibility for the turbine-root path.

Notes

  • The turbine-root cards read 0 until the shredder is configured to emit per-publisher stats for the edge-solana-root source (tracked in the infra repo). The feed string lives in a single named constant (rootPublisherFeed) for easy realignment.

Testing Verification

  • Existing TestGetEdgeScoreboard_WithData still passes: it only seeds feed='dz' lead-time rows, so widening the q2b feed set adds no rows and root_slots stays 0 with no leader-metric drift.
  • Verified the root_stats CTE shares the same epoch/slot window as the leader stats and dedups by slot, so multi-host observations don't double-count.

@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

🔗 Preview: https://pr-663.data.malbeclabs.com

Adds a source-vs-source pairwise win-rate matrix (dz leader, turbine-root,
retransmit, jito, turbine), computed from the pairwise rows of
slot_feed_race_summary_v2. Gated client-side behind ?matrix=1; the view hides
the slot race chart and node table and moves the saturated turbine-root
publishing/stake stats out of the hero panel into the matrix header.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant