2018-09-24 11:53:42 +00:00
|
|
|
use super::bls;
|
2018-09-26 03:00:25 +00:00
|
|
|
use super::common;
|
|
|
|
use super::db;
|
2018-09-24 11:53:42 +00:00
|
|
|
use super::ssz;
|
|
|
|
use super::utils;
|
|
|
|
|
|
|
|
|
2018-09-26 01:53:15 +00:00
|
|
|
mod structs;
|
2018-09-24 11:53:42 +00:00
|
|
|
mod ssz_splitter;
|
2018-09-26 03:00:25 +00:00
|
|
|
mod validation;
|
2018-09-24 11:53:42 +00:00
|
|
|
|
2018-09-26 01:53:15 +00:00
|
|
|
pub use self::structs::{
|
2018-09-24 11:53:42 +00:00
|
|
|
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,
|
2018-09-24 11:53:42 +00:00
|
|
|
AttestationSplitError,
|
|
|
|
};
|
2018-09-26 03:00:25 +00:00
|
|
|
pub use self::validation::{
|
|
|
|
validate_attestation,
|
|
|
|
AttestationValidationError,
|
|
|
|
};
|