Trait ethcore::verification::verifier::Verifier [] [src]

pub trait Verifier<C>: Send + Sync where
    C: BlockInfo + CallContract
{ fn verify_block_family(
        &self,
        header: &Header,
        parent: &Header,
        engine: &EthEngine,
        do_full: Option<FullFamilyParams<C>>
    ) -> Result<(), Error>;
fn verify_block_final(
        &self,
        expected: &Header,
        got: &Header
    ) -> Result<(), Error>;
fn verify_block_external(
        &self,
        header: &Header,
        engine: &EthEngine
    ) -> Result<(), Error>; }

Should be used to verify blocks.

Required Methods

Verify a block relative to its parent and uncles.

Do a final verification check for an enacted header vs its expected counterpart.

Verify a block, inspecing external state.

Implementors