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, }
Expand description
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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TxPoolInfo
impl Send for TxPoolInfo
impl Sync for TxPoolInfo
impl Unpin for TxPoolInfo
impl UnwindSafe for TxPoolInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V