Struct ethcore::verification::queue::kind::headers::Headers
[−]
[src]
pub struct Headers;
A mode for verifying headers.
Trait Implementations
impl Kind for Headers
[src]
type 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: &Engine)
-> Result<Self::Unverified, Error>
engine: &Engine)
-> Result<Self::Unverified, Error>
Attempt to create the Unverified
item from the input.
fn verify(unverified: Self::Unverified,
engine: &Engine,
check_seal: bool)
-> Result<Self::Verified, Error>
engine: &Engine,
check_seal: bool)
-> Result<Self::Verified, Error>
Attempt to verify the Unverified
item using the given engine.