Trait ethcore::engines::EpochVerifier
source · [−]pub trait EpochVerifier<M: Machine>: Send + Sync {
fn verify_light(&self, header: &Header) -> Result<(), M::Error>;
fn verify_heavy(&self, header: &Header) -> Result<(), M::Error> { ... }
fn check_finality_proof(&self, _proof: &[u8]) -> Option<Vec<H256>> { ... }
}
Expand description
Verifier for all blocks within an epoch with self-contained state.
Required methods
Provided methods
Perform potentially heavier checks on the next block header.