This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Adjust TdS leader efficiency calculation #7766
Labels
stale
[bot only] Added to stale content; results in auto-close after a week.
Milestone
Currently in TdS leaders are penalized if they skip any of their slots. However not all skipped slots are bad, and determining whether a skipped slot is good or bad would require much more introspection RPC facilities.
In lieu of building out more RPC APIs, a more fair efficiency calculation given the currently available information is be:
(any block produced over a leader slot segment) / (number of leader slot segments)
where "leader slot segment" is a contiguous sequence of leader slots.
Update Ramp TPS to use this when it figures the next stake delegations at the end of each round. Also consider adding this calculation
solana show-block-production
for visibility.The text was updated successfully, but these errors were encountered: