Trait polkadot_sdk_frame::traits::FindAuthor
pub trait FindAuthor<Author> {
// Required method
fn find_author<'a, I>(digests: I) -> Option<Author>
where I: 'a + IntoIterator<Item = ([u8; 4], &'a [u8])>;
}
Expand description
A trait for finding the author of a block header based on the PreRuntime
digests contained
within it.
Required Methods§
Find the author of a block based on the pre-runtime digests.
Object Safety§
This trait is not object safe.