mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: initialize txpool maintenance (#2429)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
@ -22,10 +22,10 @@ pub async fn maintain_transaction_pool<Client, V, T, St>(
|
||||
pool: Pool<V, T>,
|
||||
mut events: St,
|
||||
) where
|
||||
Client: StateProviderFactory + BlockProvider + 'static,
|
||||
Client: StateProviderFactory + BlockProvider,
|
||||
V: TransactionValidator,
|
||||
T: TransactionOrdering<Transaction = <V as TransactionValidator>::Transaction>,
|
||||
St: Stream<Item = CanonStateNotification> + Unpin + 'static,
|
||||
St: Stream<Item = CanonStateNotification> + Unpin,
|
||||
{
|
||||
// TODO set current head for the pool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user