Trait frame_support::traits::VerifySeal[][src]

pub trait VerifySeal<Header, Author> {
    fn verify_seal(header: &Header) -> Result<Option<Author>, &'static str>;
}

A trait for verifying the seal of a header and returning the author.

Required methods

fn verify_seal(header: &Header) -> Result<Option<Author>, &'static str>[src]

Verify a header and return the author, if any.

Loading content...

Implementors

Loading content...