Skip to main content

Module best

Module best 

Source
Expand description

An iterator over the best transactions in the tempo pool.

Structs§

MergeBestTransactions
A [BestTransactions] iterator that merges two individual implementations and always yields the next best item from either of the iterators.
StateAwareBestTransactions
A [BestTransactions] wrapper that tracks execution state changes and skips transactions that would fail due to state mutations from previously included transactions.

Enums§

MergeSource 🔒
Tracks which side of a MergeBestTransactions yielded the last transaction.

Traits§

BestPriorityTransactions
An extension trait for [BestTransactions] that in addition to the transaction also yields the priority value.