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

19 lines
309 B
Rust
Raw Normal View History

2018-09-21 01:14:28 +00:00
use super::utils::types::Hash256;
use super::db;
2018-08-24 06:01:57 +00:00
mod attestation_parent_hashes;
2018-08-28 07:51:57 +00:00
mod shuffling;
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),
}