paradigmxyz / reth

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

Async IF tx pool #6460

Open emhane opened 7 months ago

emhane commented 7 months ago

Describe the feature

Issues arising form the fact that commits to the transactions pool are synchronous (https://github.com/paradigmxyz/reth/issues/6411, https://github.com/paradigmxyz/reth/issues/6289, ...), should eventually be obsolete by reworking the transactions pool interface to be asynchronous. The tx pool should run as a service listening for commands, and be spawned in its own thread.

Additional context

No response

Arindam2407 commented 7 months ago

Can I take this?

emhane commented 4 months ago

@Arindam2407 missed your question. don't think the design scape here is so open, and needs to be done by original authors @mattsse @Rjected before efforts are invested into implementation. feel free to suggest an outline of a design here in the thread and kick start the design process.