Trait pallet_im_online::pallet::Config [−][src]
pub trait Config: SendTransactionTypes<Call<Self>> + Config { type AuthorityId: Member + Parameter + RuntimeAppPublic + Default + Ord + MaybeSerializeDeserialize; type Event: From<Event<Self>> + IsType<<Self as Config>::Event>; type ValidatorSet: ValidatorSetWithIdentification<Self::AccountId>; type NextSessionRotation: EstimateNextSessionRotation<Self::BlockNumber>; type ReportUnresponsiveness: ReportOffence<Self::AccountId, IdentificationTuple<Self>, UnresponsivenessOffence<IdentificationTuple<Self>>>; type UnsignedPriority: Get<TransactionPriority>; type WeightInfo: WeightInfo; }
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Associated Types
type AuthorityId: Member + Parameter + RuntimeAppPublic + Default + Ord + MaybeSerializeDeserialize
type AuthorityId: Member + Parameter + RuntimeAppPublic + Default + Ord + MaybeSerializeDeserialize
The identifier type for an authority.
type ValidatorSet: ValidatorSetWithIdentification<Self::AccountId>
type ValidatorSet: ValidatorSetWithIdentification<Self::AccountId>
A type for retrieving the validators supposed to be online in a session.
A trait that allows us to estimate the current session progress and also the average session length.
This parameter is used to determine the longevity of heartbeat
transaction and a
rough time when we should start considering sending heartbeats, since the workers
avoids sending them at the very beginning of the session, assuming there is a
chance the authority will produce a block and they won’t be necessary.
type ReportUnresponsiveness: ReportOffence<Self::AccountId, IdentificationTuple<Self>, UnresponsivenessOffence<IdentificationTuple<Self>>>
type ReportUnresponsiveness: ReportOffence<Self::AccountId, IdentificationTuple<Self>, UnresponsivenessOffence<IdentificationTuple<Self>>>
A type that gives us the ability to submit unresponsiveness offence reports.
A configuration for base priority of unsigned transactions.
This is exposed so that it can be tuned for particular runtime, when multiple pallets send unsigned transactions.
type WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.