Struct ckb_jsonrpc_types::TxPoolInfo[][src]

pub struct TxPoolInfo {
    pub tip_hash: H256,
    pub tip_number: BlockNumber,
    pub pending: Uint64,
    pub proposed: Uint64,
    pub orphan: Uint64,
    pub total_tx_size: Uint64,
    pub total_tx_cycles: Uint64,
    pub min_fee_rate: Uint64,
    pub last_txs_updated_at: Timestamp,
}

Transaction pool information.

Fields

tip_hash: H256

The associated chain tip block hash.

The transaction pool is stateful. It manages the transactions which are valid to be committed after this block.

tip_number: BlockNumber

The block number of the block tip_hash.

pending: Uint64

Count of transactions in the pending state.

The pending transactions must be proposed in a new block first.

proposed: Uint64

Count of transactions in the proposed state.

The proposed transactions are ready to be committed in the new block after the block tip_hash.

orphan: Uint64

Count of orphan transactions.

An orphan transaction has an input cell from the transaction which is neither in the chain nor in the transaction pool.

total_tx_size: Uint64

Total count of transactions in the pool of all the different kinds of states.

total_tx_cycles: Uint64

Total consumed VM cycles of all the transactions in the pool.

min_fee_rate: Uint64

Fee rate threshold. The pool rejects transactions which fee rate is below this threshold.

The unit is Shannons per 1000 bytes transaction serialization size in the block.

last_txs_updated_at: Timestamp

Last updated time. This is the Unix timestamp in milliseconds.

Trait Implementations

impl Clone for TxPoolInfo[src]

impl Debug for TxPoolInfo[src]

impl Default for TxPoolInfo[src]

impl<'de> Deserialize<'de> for TxPoolInfo[src]

impl Eq for TxPoolInfo[src]

impl Hash for TxPoolInfo[src]

impl PartialEq<TxPoolInfo> for TxPoolInfo[src]

impl Serialize for TxPoolInfo[src]

impl StructuralEq for TxPoolInfo[src]

impl StructuralPartialEq for TxPoolInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,