Trait pallet_aura::pallet::Config
source · pub trait Config: Config + Config {
type AuthorityId: Member + Parameter + RuntimeAppPublic + MaybeSerializeDeserialize + MaxEncodedLen;
type MaxAuthorities: Get<u32>;
type DisabledValidators: DisabledValidators;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
sourcetype AuthorityId: Member + Parameter + RuntimeAppPublic + MaybeSerializeDeserialize + MaxEncodedLen
type AuthorityId: Member + Parameter + RuntimeAppPublic + MaybeSerializeDeserialize + MaxEncodedLen
The identifier type for an authority.
sourcetype MaxAuthorities: Get<u32>
type MaxAuthorities: Get<u32>
The maximum number of authorities that the pallet can hold.
sourcetype DisabledValidators: DisabledValidators
type DisabledValidators: DisabledValidators
A way to check whether a given validator is disabled and should not be authoring blocks. Blocks authored by a disabled validator will lead to a panic as part of this module’s initialization.