pub trait ValidatorRegistration<ValidatorId> {
// Required method
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§
fn 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
Object Safety§
This trait is not object safe.