referrerpolicy=no-referrer-when-downgrade

Function is_validator

Source
pub fn is_validator() -> <bool as RIType>::Inner
Expand description

Returns if the local node is a potential validator.

Even if this function returns true, it does not mean that any keys are configured and that the validator is registered in the chain.