Struct ethcore::engines::epoch::NoOp
[−]
[src]
pub struct NoOp;
Special "no-op" verifier for stateless, epoch-less engines.
Trait Implementations
impl<M: Machine> EpochVerifier<M> for NoOp
[src]
impl<M: Machine> EpochVerifier<M> for NoOp
fn verify_light(&self, _header: &M::Header) -> Result<(), M::Error>
[src]
fn verify_light(&self, _header: &M::Header) -> Result<(), M::Error>
Lightly verify the next block header. This may not be a header belonging to a different epoch. Read more
fn verify_heavy(&self, header: &M::Header) -> Result<(), M::Error>
[src]
fn verify_heavy(&self, header: &M::Header) -> Result<(), M::Error>
Perform potentially heavier checks on the next block header.
fn check_finality_proof(&self, _proof: &[u8]) -> Option<Vec<H256>>
[src]
fn check_finality_proof(&self, _proof: &[u8]) -> Option<Vec<H256>>
Check a finality proof against this epoch verifier. Returns Some(hashes)
if the proof proves finality of these hashes. Returns None
if the proof doesn't prove anything. Read more