Struct bitcoin_miner::TxMemPoolModifiedEntry
source · pub struct TxMemPoolModifiedEntry { /* private fields */ }Expand description
| Container for tracking updates to ancestor | feerate as we include (parent) transactions | in a block |
Implementations§
source§impl TxMemPoolModifiedEntry
impl TxMemPoolModifiedEntry
pub fn new(entry: TxMemPoolTxIter) -> Self
pub fn get_modified_fee(&self) -> i64
pub fn get_size_with_ancestors(&self) -> u64
pub fn get_mod_fees_with_ancestors(&self) -> Amount
pub fn get_tx_size(&self) -> usize
pub fn get_tx(&self) -> &Transaction
Auto Trait Implementations§
impl RefUnwindSafe for TxMemPoolModifiedEntry
impl Send for TxMemPoolModifiedEntry
impl Sync for TxMemPoolModifiedEntry
impl Unpin for TxMemPoolModifiedEntry
impl UnwindSafe for TxMemPoolModifiedEntry
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more