Struct ethcore::verification::queue::kind::blocks::Blocks
[−]
[src]
pub struct Blocks;
A mode for verifying blocks.
Trait Implementations
impl Kind for Blocks
[src]
type Input = Unverified
The first stage: completely unverified.
type Unverified = Unverified
The second stage: partially verified.
type Verified = PreverifiedBlock
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(un: 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.