Trait pallet_authorship::pallet::Config
source · pub trait Config: Config {
type FindAuthor: FindAuthor<Self::AccountId>;
type EventHandler: EventHandler<Self::AccountId, Self::BlockNumber>;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
sourcetype FindAuthor: FindAuthor<Self::AccountId>
type FindAuthor: FindAuthor<Self::AccountId>
Find the author of a block.
sourcetype EventHandler: EventHandler<Self::AccountId, Self::BlockNumber>
type EventHandler: EventHandler<Self::AccountId, Self::BlockNumber>
An event handler for authored blocks.