Trait pallet_session::Trait [−][src]
Associated Types
type Event: From<Event> + Into<Self::Event>
[src]
The overarching event type.
type ValidatorId: Member + Parameter
[src]
A stable ID for a validator.
type ValidatorIdOf: Convert<Self::AccountId, Option<Self::ValidatorId>>
[src]
A conversion from account ID to validator ID.
Its cost must be at most one storage read.
type ShouldEndSession: ShouldEndSession<Self::BlockNumber>
[src]
Indicator for when to end the session.
type NextSessionRotation: EstimateNextSessionRotation<Self::BlockNumber>
[src]
Something that can predict the next session rotation. This should typically come from the
same logical unit that provides ShouldEndSession
, yet, it gives a best effort estimate.
It is helpful to implement EstimateNextNewSession
.
type SessionManager: SessionManager<Self::ValidatorId>
[src]
Handler for managing new session.
type SessionHandler: SessionHandler<Self::ValidatorId>
[src]
Handler when a session has changed.
type Keys: OpaqueKeys + Member + Parameter + Default
[src]
The keys.
type DisabledValidatorsThreshold: Get<Perbill>
[src]
The fraction of validators set that is safe to be disabled.
After the threshold is reached disabled
method starts to return true,
which in combination with pallet_staking
forces a new era.
type WeightInfo: WeightInfo
[src]
Weight information for extrinsics in this pallet.