Trait frame_support::traits::DisabledValidators
source · pub trait DisabledValidators {
// Required method
fn is_disabled(index: u32) -> bool;
}
Expand description
Trait used to check whether a given validator is currently disabled and should not be participating in consensus (e.g. because they equivocated).
Required Methods§
sourcefn is_disabled(index: u32) -> bool
fn is_disabled(index: u32) -> bool
Returns true if the given validator is disabled.