MCPcopy Create free account
hub / github.com/base/base / priority

Method priority

crates/execution/txpool/src/ordering.rs:74–83  ·  view source on GitHub ↗
(
        &self,
        transaction: &Self::Transaction,
        _base_fee: u64,
    )

Source from the content-addressed store, hash-verified

72 type Transaction = T;
73
74 fn priority(
75 &self,
76 transaction: &Self::Transaction,
77 _base_fee: u64,
78 ) -> Priority<Self::PriorityValue> {
79 // Reth sorts descending (higher value = picked first).
80 // We want older transactions (lower timestamp) first,
81 // so invert: MAX - timestamp.
82 Priority::Value(u128::MAX - transaction.received_at())
83 }
84}
85
86impl<T> TransactionOrdering for BaseOrdering<T>

Calls 1

received_atMethod · 0.80