[−][src]Function sp_io::offchain::is_validator
pub fn is_validator() -> bool
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.