pub trait OnNewValidatorSet<AuthorityId> {
    // Required method
    fn on_new_validator_set(
        validator_set: &ValidatorSet<AuthorityId>,
        next_validator_set: &ValidatorSet<AuthorityId>
    );
}
Expand description

New BEEFY validator set notification hook.

Required Methods§

source

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 ()

No-op implementation of OnNewValidatorSet.

source§

fn on_new_validator_set( _: &ValidatorSet<AuthorityId>, _: &ValidatorSet<AuthorityId> )

Implementors§