Don't needlessly expose Slot from solana-poh (#31832)
This commit is contained in:
parent
bf6e248bb9
commit
c0611cb574
|
@ -10,7 +10,6 @@
|
||||||
//! For Entries:
|
//! For Entries:
|
||||||
//! * recorded entry must be >= WorkingBank::min_tick_height && entry must be < WorkingBank::max_tick_height
|
//! * recorded entry must be >= WorkingBank::min_tick_height && entry must be < WorkingBank::max_tick_height
|
||||||
//!
|
//!
|
||||||
pub use solana_sdk::clock::Slot;
|
|
||||||
use {
|
use {
|
||||||
crate::{leader_bank_notifier::LeaderBankNotifier, poh_service::PohService},
|
crate::{leader_bank_notifier::LeaderBankNotifier, poh_service::PohService},
|
||||||
crossbeam_channel::{unbounded, Receiver, RecvTimeoutError, SendError, Sender, TrySendError},
|
crossbeam_channel::{unbounded, Receiver, RecvTimeoutError, SendError, Sender, TrySendError},
|
||||||
|
@ -28,8 +27,12 @@ use {
|
||||||
solana_metrics::poh_timing_point::{send_poh_timing_point, PohTimingSender, SlotPohTimingInfo},
|
solana_metrics::poh_timing_point::{send_poh_timing_point, PohTimingSender, SlotPohTimingInfo},
|
||||||
solana_runtime::bank::Bank,
|
solana_runtime::bank::Bank,
|
||||||
solana_sdk::{
|
solana_sdk::{
|
||||||
clock::NUM_CONSECUTIVE_LEADER_SLOTS, hash::Hash, poh_config::PohConfig, pubkey::Pubkey,
|
clock::{Slot, NUM_CONSECUTIVE_LEADER_SLOTS},
|
||||||
saturating_add_assign, transaction::VersionedTransaction,
|
hash::Hash,
|
||||||
|
poh_config::PohConfig,
|
||||||
|
pubkey::Pubkey,
|
||||||
|
saturating_add_assign,
|
||||||
|
transaction::VersionedTransaction,
|
||||||
},
|
},
|
||||||
std::{
|
std::{
|
||||||
cmp,
|
cmp,
|
||||||
|
|
Loading…
Reference in New Issue