pub struct CompareTxMemPoolEntryByDescendantScore {}Expand description
| \class CompareTxMemPoolEntryByDescendantScore | | Sort an entry by max(score/size of entry’s | tx, score/size with all descendants). |
Implementations§
source§impl CompareTxMemPoolEntryByDescendantScore
impl CompareTxMemPoolEntryByDescendantScore
pub fn invoke(&self, a: &TxMemPoolEntry, b: &TxMemPoolEntry) -> bool
sourcepub fn get_mod_fee_and_size(
&self,
a: &TxMemPoolEntry,
mod_fee: &mut f64,
size: &mut f64
)
pub fn get_mod_fee_and_size( &self, a: &TxMemPoolEntry, mod_fee: &mut f64, size: &mut f64 )
| Return the fee/size we’re using for | sorting this entry. |
Auto Trait Implementations§
impl RefUnwindSafe for CompareTxMemPoolEntryByDescendantScore
impl Send for CompareTxMemPoolEntryByDescendantScore
impl Sync for CompareTxMemPoolEntryByDescendantScore
impl Unpin for CompareTxMemPoolEntryByDescendantScore
impl UnwindSafe for CompareTxMemPoolEntryByDescendantScore
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