referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::VerifySeal

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

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>

Verify a header and return the author, if any.

Object Safety§

This trait is not object safe.

Implementors§