Function tet_io::offchain::is_validator[][src]

pub fn is_validator() -> bool
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.