mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat: restructure op builder (#12229)
This commit is contained in:
@ -739,6 +739,11 @@ impl fmt::Display for CanonicalStateUpdate<'_> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Alias to restrict the [`BestTransactions`] items to the pool's transaction type.
|
||||
pub type BestTransactionsFor<Pool> = Box<
|
||||
dyn BestTransactions<Item = Arc<ValidPoolTransaction<<Pool as TransactionPool>::Transaction>>>,
|
||||
>;
|
||||
|
||||
/// An `Iterator` that only returns transactions that are ready to be executed.
|
||||
///
|
||||
/// This makes no assumptions about the order of the transactions, but expects that _all_
|
||||
|
||||
Reference in New Issue
Block a user