Struct ckb_types::core::tx_pool::TxEntryInfo
source · pub struct TxEntryInfo {
pub cycles: Cycle,
pub size: u64,
pub fee: Capacity,
pub ancestors_size: u64,
pub ancestors_cycles: u64,
pub descendants_size: u64,
pub descendants_cycles: u64,
pub ancestors_count: u64,
pub timestamp: u64,
}
Expand description
Tx-pool entry info
Fields§
§cycles: Cycle
Consumed cycles.
size: u64
The transaction serialized size in block.
fee: Capacity
The transaction fee.
ancestors_size: u64
Size of in-tx-pool ancestor transactions
ancestors_cycles: u64
Cycles of in-tx-pool ancestor transactions
descendants_size: u64
Size of in-tx-pool descendants transactions
descendants_cycles: u64
Cycles of in-tx-pool descendants transactions
ancestors_count: u64
Number of in-tx-pool ancestor transactions
timestamp: u64
The unix timestamp when entering the Txpool, unit: Millisecond
Trait Implementations§
source§impl Debug for TxEntryInfo
impl Debug for TxEntryInfo
source§impl PartialEq for TxEntryInfo
impl PartialEq for TxEntryInfo
source§fn eq(&self, other: &TxEntryInfo) -> bool
fn eq(&self, other: &TxEntryInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TxEntryInfo
impl StructuralPartialEq for TxEntryInfo
Auto Trait Implementations§
impl Freeze for TxEntryInfo
impl RefUnwindSafe for TxEntryInfo
impl Send for TxEntryInfo
impl Sync for TxEntryInfo
impl Unpin for TxEntryInfo
impl UnwindSafe for TxEntryInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more