arena: backfill the rolling window at startup; leaderboard hides zero-block rows #21
Reference in New Issue
Block a user
Delete Branch "arena/backfill-window"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #17/#19. After a restart the exporter's window started empty, so authors who had not sealed a block since had no author label series (and no timing caps) until they authored again. On the leaderboard that showed as blank author cells for the smaller miners, and the #19 range fallback could not help because the label metric did not exist before 06:45 today.
The first poll now fills the window from chain history: 3600 blocks in 15 s against bob. Window only: the authored counter is untouched so
increase()sees no phantom burst, and no tip timing is observed for blocks not watched arriving. Capped at 180 s of wall clock. Locally the three authors that were blank on the dashboard (0x2f7730…, 0xcc5c9b…, 0x435ca0…) get their abbreviated label immediately after start.The leaderboard's top-20 also drops rows with zero blocks in the range; those were stale series with nothing to show and could never carry a label.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5