lighthouse-pulse/lighthouse/state/transition/mod.rs
2018-09-21 11:14:28 +10:00

19 lines
309 B
Rust

use super::utils::types::Hash256;
use super::db;
mod attestation_parent_hashes;
mod shuffling;
pub use self::attestation_parent_hashes::attestation_parent_hashes;
pub use self::shuffling::shuffle;
#[derive(Debug)]
pub enum TransitionError {
IntWrapping,
OutOfBounds,
InvalidInput(String),
}