Struct ckb_tx_pool::TxEntry [−][src]
pub struct TxEntry {
pub rtx: ResolvedTransaction,
pub cycles: Cycle,
pub size: usize,
pub fee: Capacity,
pub ancestors_size: usize,
pub ancestors_fee: Capacity,
pub ancestors_cycles: Cycle,
pub ancestors_count: usize,
}Expand description
An entry in the transaction pool.
Fields
rtx: ResolvedTransactionTransaction
cycles: CycleCycles
size: usizetx size
fee: Capacityfee
ancestors_size: usizeancestors txs size
ancestors_fee: Capacityancestors txs fee
ancestors_cycles: Cycleancestors txs cycles
ancestors_count: usizeancestors txs count
Implementations
Create new transaction pool entry
Create dummy entry from tx, skip resolve
Return related dep out_points
Return reference of transaction
Return proposal_short_id of transaction
Returns a sorted_key
Update ancestor state for add an entry
Update ancestor state for remove an entry
Reset ancestor state by remove
Converts entry to a TxEntryInfo.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TxEntry
impl UnwindSafe for TxEntry
Blanket Implementations
Mutably borrows from an owned value. Read more