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
sourceimpl Clone for GetMempoolEntryResult
impl Clone for GetMempoolEntryResult
sourcefn clone(&self) -> GetMempoolEntryResult
fn clone(&self) -> GetMempoolEntryResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetMempoolEntryResult
impl Debug for GetMempoolEntryResult
sourceimpl<'de> Deserialize<'de> for GetMempoolEntryResult
impl<'de> Deserialize<'de> for GetMempoolEntryResult
sourcefn 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
sourceimpl PartialEq<GetMempoolEntryResult> for GetMempoolEntryResult
impl PartialEq<GetMempoolEntryResult> for GetMempoolEntryResult
sourcefn eq(&self, other: &GetMempoolEntryResult) -> bool
fn eq(&self, other: &GetMempoolEntryResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GetMempoolEntryResult
impl Serialize for GetMempoolEntryResult
impl Eq for GetMempoolEntryResult
impl StructuralEq for GetMempoolEntryResult
impl StructuralPartialEq for GetMempoolEntryResult
Auto Trait Implementations
impl RefUnwindSafe for GetMempoolEntryResult
impl Send for GetMempoolEntryResult
impl Sync for GetMempoolEntryResult
impl Unpin for GetMempoolEntryResult
impl UnwindSafe for GetMempoolEntryResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more