Import Slot directly from types in fork-choice.
This commit is contained in:
parent
94c8784523
commit
e06c4796e4
@ -30,8 +30,8 @@ use fast_math::log2_raw;
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use types::{
|
use types::{
|
||||||
readers::BeaconBlockReader, slot_epoch::Slot, slot_height::SlotHeight,
|
readers::BeaconBlockReader, validator_registry::get_active_validator_indices, BeaconBlock,
|
||||||
validator_registry::get_active_validator_indices, BeaconBlock, Hash256,
|
Hash256, Slot, SlotHeight,
|
||||||
};
|
};
|
||||||
|
|
||||||
//TODO: Pruning - Children
|
//TODO: Pruning - Children
|
||||||
|
@ -28,8 +28,8 @@ use db::{
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use types::{
|
use types::{
|
||||||
readers::BeaconBlockReader, slot_epoch::Slot, validator_registry::get_active_validator_indices,
|
readers::BeaconBlockReader, validator_registry::get_active_validator_indices, BeaconBlock,
|
||||||
BeaconBlock, Hash256,
|
Hash256, Slot,
|
||||||
};
|
};
|
||||||
|
|
||||||
//TODO: Pruning and syncing
|
//TODO: Pruning and syncing
|
||||||
|
Loading…
Reference in New Issue
Block a user