Struct ethcore::verification::CanonVerifier
[−]
[src]
pub struct CanonVerifier;
A canonial verifier -- this does full verification.
Trait Implementations
impl Verifier for CanonVerifier
[src]
fn verify_block_family(&self,
header: &Header,
bytes: &[u8],
engine: &Engine,
bc: &BlockProvider)
-> Result<(), Error>
header: &Header,
bytes: &[u8],
engine: &Engine,
bc: &BlockProvider)
-> Result<(), Error>
Verify a block relative to its parent and uncles.
fn verify_block_final(&self,
expected: &Header,
got: &Header)
-> Result<(), Error>
expected: &Header,
got: &Header)
-> Result<(), Error>
Do a final verification check for an enacted header vs its expected counterpart.