feat: round stats #187
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
haspr
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
parasitepool/parastats!187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-185"
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?
Summary
/roundspage showing round history with expandable participant leaderboards (difficulty + participation)Details
rounds-collector.tshandles syncing round metadata, fetching participants for completed rounds (with retry/backoff), and polling current round data.Triggered on new blocks via stratum and on a 10-min cron.
rounds(round metadata) andround_participants(per-user stats per round, block_height=0 as current round sentinel). Indexed for leaderboard anduser lookup queries.
/api/rounds,/api/rounds/current,/api/rounds/[blockHeight], and/api/user/[address]/rounds. Existing/api/leaderboardextended with?round=currentparam.useRoundLeaderboardhook replaces duplicated fetch logic in all three board components. New/roundspage with expandable round details. User profileshows round history with diff/blocks ranks.
Closes #185
Screenshots
Misclick, still reviewing