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§
fn reward_backing(validators: impl IntoIterator<Item = ValidatorIndex>)
fn reward_bitfields(validators: impl IntoIterator<Item = ValidatorIndex>)
Object Safety§
This trait is not object safe.