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

25 lines
426 B
Rust
Raw Normal View History

use super::bls;
use super::common;
use super::db;
use super::ssz;
use super::utils;
2018-09-26 01:53:15 +00:00
mod structs;
mod ssz_splitter;
mod validation;
2018-09-26 01:53:15 +00:00
pub use self::structs::{
AttestationRecord,
MIN_SSZ_ATTESTION_RECORD_LENGTH,
};
pub use self::ssz_splitter::{
2018-09-24 13:35:51 +00:00
split_all_attestations,
split_one_attestation,
AttestationSplitError,
};
pub use self::validation::{
validate_attestation,
AttestationValidationError,
};