lighthouse-pulse/lighthouse/state/block/validation/mod.rs
Paul Hauner 5dd2361d21
Progress further with block validation
- Rename errors returned from SszBlock.
- Add parent_hash concept to block validation.
- Add more comments to block validation.
2018-09-30 11:26:36 +09:30

26 lines
419 B
Rust

mod validate_ssz_block;
#[cfg(test)]
mod tests;
#[cfg(all(feature = "benches", test))]
mod benches;
use super::attestation_record;
use super::{
SszBlock,
SszBlockError,
Block,
};
use super::db;
use super::ssz;
use super::utils;
use super::common::maps::{
AttesterMap,
ProposerMap,
};
pub use self::validate_ssz_block::{
BlockValidationContext,
SszBlockValidationError,
BlockStatus,
};