Trait frame_support::traits::ValidatorSet [−][src]
A trait for online node inspection in a session.
Something that can give information about the current validator set.
Associated Types
type ValidatorId: Parameter[src]
Type for representing validator id in a session.
type ValidatorIdOf: Convert<AccountId, Option<Self::ValidatorId>>[src]
A type for converting AccountId to ValidatorId.
Required methods
fn session_index() -> SessionIndex[src]
Returns current session index.
fn validators() -> Vec<Self::ValidatorId>ⓘ[src]
Returns the active set of validators.