Trait pallet_aura::pallet::Config [−][src]
pub trait Config: Config + Config {
type AuthorityId: Member + Parameter + RuntimeAppPublic + Default + 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.
Associated Types
The identifier type for an authority.
type MaxAuthorities: Get<u32>
type MaxAuthorities: Get<u32>
The maximum number of authorities that the pallet can hold.
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.