referrerpolicy=no-referrer-when-downgrade
pub trait RewardValidators {
    // Required methods
    fn reward_backing(validators: impl IntoIterator<Item = ValidatorIndex>);
    fn reward_bitfields(validators: impl IntoIterator<Item = ValidatorIndex>);
}
Expand description

A hook for applying validator rewards

Required Methods§

source

fn reward_backing(validators: impl IntoIterator<Item = ValidatorIndex>)

source

fn reward_bitfields(validators: impl IntoIterator<Item = ValidatorIndex>)

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<C> RewardValidators for RewardValidatorsWithEraPoints<C>
where C: Config + Config + Config, C::ValidatorSet: ValidatorSet<C::AccountId, ValidatorId = C::AccountId>,