mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 21:04:41 +00:00
Merge spec into types crate.
Also remove some pre-2018 `extern crate` calls.
This commit is contained in:
@@ -7,9 +7,8 @@ mod traits;
|
||||
use self::traits::{BeaconNode, BeaconNodeError};
|
||||
use super::EpochDutiesMap;
|
||||
use slot_clock::SlotClock;
|
||||
use spec::ChainSpec;
|
||||
use std::sync::{Arc, RwLock};
|
||||
use types::BeaconBlock;
|
||||
use types::{BeaconBlock, ChainSpec};
|
||||
|
||||
pub use self::service::BlockProducerService;
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ mod traits;
|
||||
use self::traits::{BeaconNode, BeaconNodeError};
|
||||
use bls::PublicKey;
|
||||
use slot_clock::SlotClock;
|
||||
use spec::ChainSpec;
|
||||
use std::collections::HashMap;
|
||||
use std::sync::{Arc, RwLock};
|
||||
use types::ChainSpec;
|
||||
|
||||
pub use self::service::DutiesManagerService;
|
||||
|
||||
|
||||
@@ -7,10 +7,10 @@ use grpcio::{ChannelBuilder, EnvBuilder};
|
||||
use protos::services_grpc::{BeaconBlockServiceClient, ValidatorServiceClient};
|
||||
use slog::{error, info, o, Drain};
|
||||
use slot_clock::SystemTimeSlotClock;
|
||||
use spec::ChainSpec;
|
||||
use std::path::PathBuf;
|
||||
use std::sync::{Arc, RwLock};
|
||||
use std::thread;
|
||||
use types::ChainSpec;
|
||||
|
||||
mod block_producer;
|
||||
mod config;
|
||||
|
||||
Reference in New Issue
Block a user