mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
593 B
593 B
P2P
Explanation of the Reth P2P Stack design process
- Our initial design exploration started in #64, which focused on layering dependent subprotocols as generic async streams, then using those streams to construct higher level network abstractions.
- Following the above design, we then implemented
P2PStreamandEthStream, corresponding to thep2pandethsubprotocol respectively. - The wire protocol used to decode messages in
EthStreamcame from ethp2p, making it easy to get the full stack to work.