-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ping protocol support and use for keep-alive #621
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we mention this as a MAY in specs perhaps? For topics/connections that don't see a lot of traffic
Good idea. See vacp2p/rfc#400 |
This PR closes #534
It adds libp2p
ping
protocol support for Waku v2, mounts it on all nodes and usesping
as the underlying mechanism for keep-alive functionality.In order to use the
unstable
branch ofnim-libp2p
, theWakuPeerStore
had to be separated from the underlying libp2pPeerStore
. See this comment for background. #622 keeps track of the effort to reintegrate the libp2pPeerStore
into Waku v2.