pub struct BlockPolicyEstimatorInner {
pub n_best_seen_height: u32,
pub first_recorded_height: u32,
pub historical_first: u32,
pub historical_best: u32,
pub map_mem_pool_txs: HashMap<u256, TxStatsInfo>,
pub fee_stats: Box<TxConfirmStats>,
pub short_stats: Box<TxConfirmStats>,
pub long_stats: Box<TxConfirmStats>,
pub tracked_txs: u32,
pub untracked_txs: u32,
pub buckets: Vec<f64>,
pub bucket_map: HashMap<f64, u32>,
}Fields§
§n_best_seen_height: u32§first_recorded_height: u32§historical_first: u32§historical_best: u32§map_mem_pool_txs: HashMap<u256, TxStatsInfo>| map of txids to information about that | transaction |
fee_stats: Box<TxConfirmStats>§short_stats: Box<TxConfirmStats>§long_stats: Box<TxConfirmStats>§tracked_txs: u32§untracked_txs: u32§buckets: Vec<f64>| The upper-bound of the range for the | bucket (inclusive) |
bucket_map: HashMap<f64, u32>| Map of bucket upper-bound to index into | all vectors by bucket |
Auto Trait Implementations§
impl RefUnwindSafe for BlockPolicyEstimatorInner
impl Send for BlockPolicyEstimatorInner
impl Sync for BlockPolicyEstimatorInner
impl Unpin for BlockPolicyEstimatorInner
impl UnwindSafe for BlockPolicyEstimatorInner
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more