Struct ethcore::verification::queue::kind::headers::Headers [−][src]
pub struct Headers;
A mode for verifying headers.
Trait Implementations
impl Kind for Headers[src]
impl Kind for Headerstype Input = Header
The first stage: completely unverified.
type Unverified = Header
The second stage: partially verified.
type Verified = Header
The third stage: completely verified.
fn create(
input: Self::Input,
engine: &EthEngine
) -> Result<Self::Unverified, Error>[src]
fn create(
input: Self::Input,
engine: &EthEngine
) -> Result<Self::Unverified, Error>Attempt to create the Unverified item from the input.
fn verify(
unverified: Self::Unverified,
engine: &EthEngine,
check_seal: bool
) -> Result<Self::Verified, Error>[src]
fn verify(
unverified: Self::Unverified,
engine: &EthEngine,
check_seal: bool
) -> Result<Self::Verified, Error>Attempt to verify the Unverified item using the given engine.