Move entry/poh to own crate to speed up poh bench build (#18225)

This commit is contained in:
sakridge
2021-07-14 14:16:29 +02:00
committed by GitHub
parent a4a24b6531
commit 7f2254225e
57 changed files with 152 additions and 90 deletions

View File

@ -7,6 +7,7 @@ use rand::{thread_rng, Rng};
use rayon::prelude::*;
use solana_client::thin_client::create_client;
use solana_core::consensus::VOTE_THRESHOLD_DEPTH;
use solana_entry::entry::{Entry, EntrySlice};
use solana_gossip::{
cluster_info::{self, VALIDATOR_PORT_RANGE},
contact_info::ContactInfo,
@ -14,10 +15,7 @@ use solana_gossip::{
gossip_error::GossipError,
gossip_service::discover_cluster,
};
use solana_ledger::{
blockstore::Blockstore,
entry::{Entry, EntrySlice},
};
use solana_ledger::blockstore::Blockstore;
use solana_sdk::{
client::SyncClient,
clock::{self, Slot, NUM_CONSECUTIVE_LEADER_SLOTS},