lighthouse-pulse/lighthouse/state/attestation_record/mod.rs
Paul Hauner c3ec8a3407
Introduce AttestationValidationContext
This reduced code duplication.
2018-09-30 16:09:35 +09:30

25 lines
434 B
Rust

use super::bls;
use super::common;
use super::db;
use super::ssz;
use super::utils;
mod structs;
mod ssz_splitter;
mod validation;
pub use self::structs::{
AttestationRecord,
MIN_SSZ_ATTESTION_RECORD_LENGTH,
};
pub use self::ssz_splitter::{
split_all_attestations,
split_one_attestation,
AttestationSplitError,
};
pub use self::validation::{
AttestationValidationContext,
AttestationValidationError,
};