[][src]Trait frame_support::traits::ValidatorRegistration

pub trait ValidatorRegistration<ValidatorId> {
    fn is_registered(id: &ValidatorId) -> bool;
}

Implementors of this trait provide information about whether or not some validator has been registered with them. The Session module is an implementor.

Required methods

fn is_registered(id: &ValidatorId) -> bool

Returns true if the provided validator ID has been registered with the implementing runtime module

Loading content...

Implementors

Loading content...