Trait core_primitives::ValidatorProvider
source · pub trait ValidatorProvider {
type AccountId;
// Required methods
fn current_era_validators() -> EraValidators<Self::AccountId>;
fn current_era_committee_size() -> CommitteeSeats;
}
Required Associated Types§
Required Methods§
sourcefn current_era_validators() -> EraValidators<Self::AccountId>
fn current_era_validators() -> EraValidators<Self::AccountId>
returns validators for the current era.
sourcefn current_era_committee_size() -> CommitteeSeats
fn current_era_committee_size() -> CommitteeSeats
returns committee seats for the current era.
Object Safety§
This trait is not object safe.