pub struct GetMempoolEntryResult {Show 14 fields
pub vsize: u64,
pub weight: Option<u64>,
pub time: u64,
pub height: u64,
pub descendant_count: u64,
pub descendant_size: u64,
pub ancestor_count: u64,
pub ancestor_size: u64,
pub wtxid: Txid,
pub fees: GetMempoolEntryResultFees,
pub depends: Vec<Txid>,
pub spent_by: Vec<Txid>,
pub bip125_replaceable: bool,
pub unbroadcast: Option<bool>,
}
Fields§
§vsize: u64
Virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.
weight: Option<u64>
Transaction weight as defined in BIP 141. Added in Core v0.19.0.
time: u64
Local time transaction entered pool in seconds since 1 Jan 1970 GMT
height: u64
Block height when transaction entered pool
descendant_count: u64
Number of in-mempool descendant transactions (including this one)
descendant_size: u64
Virtual transaction size of in-mempool descendants (including this one)
ancestor_count: u64
Number of in-mempool ancestor transactions (including this one)
ancestor_size: u64
Virtual transaction size of in-mempool ancestors (including this one)
wtxid: Txid
Hash of serialized transaction, including witness data
fees: GetMempoolEntryResultFees
Fee information
depends: Vec<Txid>
Unconfirmed transactions used as inputs for this transaction
spent_by: Vec<Txid>
Unconfirmed transactions spending outputs from this transaction
bip125_replaceable: bool
Whether this transaction could be replaced due to BIP125 (replace-by-fee)
unbroadcast: Option<bool>
Whether this transaction is currently unbroadcast (initial broadcast not yet acknowledged by any peers) Added in Bitcoin Core v0.21
Trait Implementations§
source§impl Clone for GetMempoolEntryResult
impl Clone for GetMempoolEntryResult
source§fn clone(&self) -> GetMempoolEntryResult
fn clone(&self) -> GetMempoolEntryResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMempoolEntryResult
impl Debug for GetMempoolEntryResult
source§impl<'de> Deserialize<'de> for GetMempoolEntryResult
impl<'de> Deserialize<'de> for GetMempoolEntryResult
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 PartialEq for GetMempoolEntryResult
impl PartialEq for GetMempoolEntryResult
source§fn eq(&self, other: &GetMempoolEntryResult) -> bool
fn eq(&self, other: &GetMempoolEntryResult) -> bool
self
and other
values to be equal, and is used
by ==
.