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

18 lines
383 B
Rust
Raw Normal View History

2018-09-24 13:35:51 +00:00
use std::collections::HashMap;
use super::block;
2018-09-23 10:19:30 +00:00
use super::bls;
use super::Logger;
use super::db;
2018-09-24 13:35:51 +00:00
use super::attestation_record;
2018-09-22 12:00:11 +00:00
use super::ssz;
use super::transition::attestation_parent_hashes;
use super::utils;
mod attestation;
mod ssz_block;
2018-09-24 13:35:51 +00:00
type Slot = u64;
type ShardId = u64;
type AttesterMap = HashMap<(Slot, ShardId), Vec<usize>>;
type ProposerMap = HashMap<Slot, usize>;