Struct ethcore::verification::NoopVerifier
[−]
[src]
pub struct NoopVerifier;
A no-op verifier -- this will verify everything it's given immediately.
Trait Implementations
impl<C: BlockInfo + CallContract> Verifier<C> for NoopVerifier
[src]
impl<C: BlockInfo + CallContract> Verifier<C> for NoopVerifier
fn verify_block_family(
&self,
_: &Header,
_t: &Header,
_: &EthEngine,
_: Option<FullFamilyParams<C>>
) -> Result<(), Error>
[src]
fn verify_block_family(
&self,
_: &Header,
_t: &Header,
_: &EthEngine,
_: Option<FullFamilyParams<C>>
) -> Result<(), Error>
Verify a block relative to its parent and uncles.
fn verify_block_final(
&self,
_expected: &Header,
_got: &Header
) -> Result<(), Error>
[src]
fn verify_block_final(
&self,
_expected: &Header,
_got: &Header
) -> Result<(), Error>
Do a final verification check for an enacted header vs its expected counterpart.
fn verify_block_external(
&self,
_header: &Header,
_engine: &EthEngine
) -> Result<(), Error>
[src]
fn verify_block_external(
&self,
_header: &Header,
_engine: &EthEngine
) -> Result<(), Error>
Verify a block, inspecing external state.
Auto Trait Implementations
impl Send for NoopVerifier
impl Send for NoopVerifier
impl Sync for NoopVerifier
impl Sync for NoopVerifier