Trait beefy_primitives::OnNewValidatorSet
source · pub trait OnNewValidatorSet<AuthorityId> {
fn on_new_validator_set(
validator_set: &ValidatorSet<AuthorityId>,
next_validator_set: &ValidatorSet<AuthorityId>
);
}
Expand description
New BEEFY validator set notification hook.
Required Methods§
sourcefn on_new_validator_set(
validator_set: &ValidatorSet<AuthorityId>,
next_validator_set: &ValidatorSet<AuthorityId>
)
fn on_new_validator_set(
validator_set: &ValidatorSet<AuthorityId>,
next_validator_set: &ValidatorSet<AuthorityId>
)
Function called by the pallet when BEEFY validator set changes.
Implementations on Foreign Types§
source§impl<AuthorityId> OnNewValidatorSet<AuthorityId> for ()
impl<AuthorityId> OnNewValidatorSet<AuthorityId> for ()
No-op implementation of OnNewValidatorSet.