paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.51k stars 903 forks source link

Unblock `ActiveSession` #7008

Open emhane opened 3 months ago

emhane commented 3 months ago

Describe the feature

Extend pattern for unblocking futures/streams used in TransactionsManager (among others) to ActiveSession.

https://github.com/paradigmxyz/reth/pull/6590#issuecomment-1976570628

Additional context

No response

int88 commented 3 months ago

@emhane Have you started working on this? If not, I'd like to fix it :)

emhane commented 3 months ago

hey @int88 ! I did already start this, it's a very complex task that requires modelling the flow of all nested streams in the ActiveSession future - I've done that first part, and started with implementation

int88 commented 3 months ago

Yes, I found it too. It seems that the existing process cannot be simply applied :)

emhane commented 3 months ago

ordering of the nested streams, and setting the budget for each nested stream, that's the complex part. it's also fun though :)