Trait frame_support::traits::ValidatorRegistration
source · pub trait ValidatorRegistration<ValidatorId> {
fn is_registered(id: &ValidatorId) -> bool;
}
Expand description
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§
sourcefn is_registered(id: &ValidatorId) -> bool
fn is_registered(id: &ValidatorId) -> bool
Returns true if the provided validator ID has been registered with the implementing runtime module