pub struct CompareTxMemPoolEntryByScore {}Expand description
| \class CompareTxMemPoolEntryByScore | | Sort by feerate of entry (fee/size) | in descending order | | This is only used for transaction relay, | so we use GetFee() instead of GetModifiedFee() | to avoid leaking prioritization information | via the sort order. |
Implementations§
source§impl CompareTxMemPoolEntryByScore
impl CompareTxMemPoolEntryByScore
pub fn invoke(&self, a: &TxMemPoolEntry, b: &TxMemPoolEntry) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for CompareTxMemPoolEntryByScore
impl Send for CompareTxMemPoolEntryByScore
impl Sync for CompareTxMemPoolEntryByScore
impl Unpin for CompareTxMemPoolEntryByScore
impl UnwindSafe for CompareTxMemPoolEntryByScore
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