From a0596c63c5087b3e5e0138712d524d0bc89897fd Mon Sep 17 00:00:00 2001 From: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com> Date: Tue, 15 Jun 2021 13:56:26 +0200 Subject: [PATCH] Specify use of libp2p ping protocol (#400) * Specify use of libp2p ping protocol * Add to contributor list --- content/docs/rfcs/10/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/content/docs/rfcs/10/README.md b/content/docs/rfcs/10/README.md index 85e20d9e..3c7868c9 100644 --- a/content/docs/rfcs/10/README.md +++ b/content/docs/rfcs/10/README.md @@ -6,6 +6,7 @@ status: draft editor: Oskar Thorén contributors: - Sanaz Taheri + - Hanno Cornelius --- Waku is a privacy-preserving peer-to-peer messaging protocol for resource restricted devices. @@ -61,6 +62,14 @@ The current [protocol identifiers](https://docs.libp2p.io/concepts/protocols/) a These protocols and their semantics are elaborated on in their own specs. +In addition, Waku v2 MAY make use of [libp2p ping protocol](https://docs.libp2p.io/concepts/protocols/#ping) with protocol id + +``` +/ipfs/ping/1.0.0 +``` + +for liveness checks between peers, or to keep peer-to-peer connections alive. + For the actual content being passed around, see the [7/WAKU-DATA](/spec/7) spec. ## Use of libp2p and protobuf @@ -293,6 +302,11 @@ To get compatibility with Waku v1: - [7/WAKU-DATA](/spec/7) - [14/WAKU2-MESSAGE](/spec/14) - version 1 (encrypted with `7/WAKU-DATA`) +For an interoperable keep-alive mechanism: + +- [libp2p ping protocol](https://docs.libp2p.io/concepts/protocols/#ping), +with periodic pings to connected peers + # Copyright Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). @@ -328,3 +342,5 @@ Copyright and related rights waived via [CC0](https://creativecommons.org/public 14. [14/WAKU2-RLNRELAY spec](/spec/17) 15. [18/WAKU2-SWAP spec](/spec/18) + +16. [Ping protocol](https://docs.libp2p.io/concepts/protocols/#ping)