pub trait Config: Config + Config + Config + Config + Config + AuthorityDiscoveryConfig {
type ValidatorSet: ValidatorSetWithIdentification<Self::AccountId>;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
sourcetype ValidatorSet: ValidatorSetWithIdentification<Self::AccountId>
type ValidatorSet: ValidatorSetWithIdentification<Self::AccountId>
A type for retrieving AccountId
s of the validators in the current session.
These are stash keys of the validators.
It’s used for rewards and slashing. Identification
is only needed for slashing.