Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Adjust TdS leader efficiency calculation #7766

Closed
@mvines

Description

@mvines

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stale[bot only] Added to stale content; results in auto-close after a week.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions