vacp2p / research

Thinking in code
MIT License
62 stars 4 forks source link

Waku Peer Exchange Overhaul #188

Closed kaiserd closed 7 months ago

kaiserd commented 1 year ago

Background

This milestone issue tracks various issues and tasks updating the Waku peer exchange protocol.

The goals are

The current design was chosen to allow PX service nodes to retrieve peers on demand, and sending peer information to requesters once obtained.

The new design requires peers to manage a px peer cache, and retrieve peers asynchronously. This was the default, with the current design, too. So, the new design only removes the on-demand option, while simplifying the protocol design. The simpler design is especially desired by restricted devices (e.g. Browser), for which the peer exchange protocol was designed in the first place.

Issues and Tasks

Notes and Prior Discussion

kaiserd commented 7 months ago

Ownership of most parts of this issue has been moved to Waku: https://github.com/waku-org/pm/issues/101