pub struct TerminalPoolInfo {
pub pending: Uint64,
pub proposed: Uint64,
pub orphan: Uint64,
pub committing: Uint64,
pub total_recent_reject_num: Uint64,
pub total_tx_size: Uint64,
pub total_tx_cycles: Uint64,
pub max_tx_pool_size: Uint64,
pub last_txs_updated_at: Timestamp,
}Expand description
Transaction pool information.
Fields§
§pending: Uint64Count of transactions in the pending state.
The pending transactions must be proposed in a new block first.
proposed: Uint64Count of transactions in the proposed state.
The proposed transactions are ready to be committed in the new block after the block
tip_hash.
orphan: Uint64Count of orphan transactions.
An orphan transaction has an input cell from the transaction which is neither in the chain nor in the transaction pool.
committing: Uint64Count of committing transactions.
The Committing transactions refer to transactions that have been packaged into the block_template and are awaiting mining into a block.
total_recent_reject_num: Uint64Total count of recent reject transactions by pool
total_tx_size: Uint64Total size of transactions bytes in the pool of all the different kinds of states (excluding orphan transactions).
total_tx_cycles: Uint64Total consumed VM cycles of all the transactions in the pool (excluding orphan transactions).
max_tx_pool_size: Uint64Total limit on the size of transactions in the tx-pool
last_txs_updated_at: TimestampLast updated time. This is the Unix timestamp in milliseconds.
Trait Implementations§
Source§impl Clone for TerminalPoolInfo
impl Clone for TerminalPoolInfo
Source§fn clone(&self) -> TerminalPoolInfo
fn clone(&self) -> TerminalPoolInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TerminalPoolInfo
impl Debug for TerminalPoolInfo
Source§impl Default for TerminalPoolInfo
impl Default for TerminalPoolInfo
Source§impl<'de> Deserialize<'de> for TerminalPoolInfo
impl<'de> Deserialize<'de> for TerminalPoolInfo
Source§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>,
Source§impl JsonSchema for TerminalPoolInfo
impl JsonSchema for TerminalPoolInfo
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more