paradigmxyz / reth

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

Improve P2PStream buffering #12202

Open mattsse opened 1 week ago

mattsse commented 1 week ago

Describe the feature

we currently have a buffer:

https://github.com/paradigmxyz/reth/blob/ff9a42ae8fbf441f4fb9ca8dcea84c765b284721/crates/net/eth-wire/src/p2pstream.rs#L244-L245

TODO

also ptal at the Sink docs if unfamiliar with the Sink API

Additional context

No response

MatteoMer commented 22 hours ago

hey! Would love to work on this 🫡

jenpaff commented 7 hours ago

hey! Would love to work on this 🫡

assigned !