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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
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 ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.