lighthouse-pulse/lighthouse/state/attestation_record/mod.rs
Paul Hauner 9dcec214af
Add block validation code
This was created in another branch along with a whole bunch of other
commits building out databases and other common elements.

This full history of these works is available on master, however it
should not be necessary.
2018-09-26 13:00:25 +10:00

25 lines
426 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::{
validate_attestation,
AttestationValidationError,
};