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