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<GetMempoolEntryResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetMempoolEntryResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for GetMempoolEntryResult
impl PartialEq for GetMempoolEntryResult
Source§impl Serialize for GetMempoolEntryResult
impl Serialize for GetMempoolEntryResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for GetMempoolEntryResult
impl StructuralPartialEq for GetMempoolEntryResult
Auto Trait Implementations§
impl Freeze for GetMempoolEntryResult
impl RefUnwindSafe for GetMempoolEntryResult
impl Send for GetMempoolEntryResult
impl Sync for GetMempoolEntryResult
impl Unpin for GetMempoolEntryResult
impl UnwindSafe for GetMempoolEntryResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.