Refactor beacon_chain.

Moves all the `BeaconChain` impls into the same file that the struct is
defined in.
This commit is contained in:
Paul Hauner
2019-02-05 03:52:47 +11:00
parent bd1cfeeba9
commit c1ed5cd2d8
14 changed files with 648 additions and 790 deletions

View File

@@ -1,9 +1,9 @@
use super::{BeaconChain, SlotClock};
use crate::BeaconChain;
use db::{
stores::{BeaconBlockAtSlotError, BeaconBlockStore},
ClientDB, DBError,
};
use slot_clock::TestingSlotClockError;
use slot_clock::{SlotClock, TestingSlotClockError};
use std::collections::HashSet;
use std::sync::Arc;
use types::{