lighthouse-pulse/lighthouse/state/transition/mod.rs

24 lines
427 B
Rust
Raw Normal View History

use super::super::utils::types::Hash256;
use super::crystallized_state;
use super::super::db;
use super::ssz;
use super::blake2;
use super::utils;
2018-08-24 06:01:57 +00:00
mod attestation_parent_hashes;
2018-08-28 07:51:57 +00:00
mod shuffling;
mod validate_block;
2018-08-24 06:01:57 +00:00
pub use self::attestation_parent_hashes::attestation_parent_hashes;
2018-08-28 07:51:57 +00:00
pub use self::shuffling::shuffle;
#[derive(Debug)]
pub enum TransitionError {
IntWrapping,
OutOfBounds,
InvalidInput(String),
}