Add test dependencies for fork-choice.
This commit is contained in:
parent
fe13d98469
commit
91ba26a351
@ -10,3 +10,7 @@ ssz = { path = "../utils/ssz" }
|
|||||||
types = { path = "../types" }
|
types = { path = "../types" }
|
||||||
fast-math = "0.1.1"
|
fast-math = "0.1.1"
|
||||||
byteorder = "1.3.1"
|
byteorder = "1.3.1"
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
yaml-rust = "0.4.2"
|
||||||
|
bls = { path = "../utils/bls" }
|
||||||
|
@ -51,6 +51,10 @@ use db::stores::BeaconBlockAtSlotError;
|
|||||||
use db::DBError;
|
use db::DBError;
|
||||||
use types::{BeaconBlock, Hash256};
|
use types::{BeaconBlock, Hash256};
|
||||||
|
|
||||||
|
// export the main structs
|
||||||
|
pub use longest_chain::LongestChain;
|
||||||
|
pub use optimised_lmd_ghost::OptimisedLMDGhost;
|
||||||
|
|
||||||
/// Defines the interface for Fork Choices. Each Fork choice will define their own data structures
|
/// Defines the interface for Fork Choices. Each Fork choice will define their own data structures
|
||||||
/// which can be built in block processing through the `add_block` and `add_attestation` functions.
|
/// which can be built in block processing through the `add_block` and `add_attestation` functions.
|
||||||
/// The main fork choice algorithm is specified in `find_head
|
/// The main fork choice algorithm is specified in `find_head
|
||||||
|
Loading…
Reference in New Issue
Block a user