2018-09-24 13:35:51 +00:00
|
|
|
use std::collections::HashMap;
|
2018-09-22 05:53:31 +00:00
|
|
|
use super::block;
|
2018-09-23 10:19:30 +00:00
|
|
|
use super::bls;
|
2018-09-22 05:53:31 +00:00
|
|
|
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;
|
2018-09-19 06:29:29 +00:00
|
|
|
|
2018-09-24 11:53:42 +00:00
|
|
|
mod attestation;
|
2018-09-22 05:53:31 +00:00
|
|
|
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>;
|