(
&self,
transaction: &Self::Transaction,
_base_fee: u64,
)
| 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 | |
| 86 | impl<T> TransactionOrdering for BaseOrdering<T> |