Specify use of libp2p ping protocol (#400)

* Specify use of libp2p ping protocol

* Add to contributor list
This commit is contained in:
Hanno Cornelius 2021-06-15 13:56:26 +02:00 committed by GitHub
parent 259af46ddb
commit a0596c63c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ status: draft
editor: Oskar Thorén <oskar@status.im> editor: Oskar Thorén <oskar@status.im>
contributors: contributors:
- Sanaz Taheri <sanaz@status.im> - Sanaz Taheri <sanaz@status.im>
- Hanno Cornelius <hanno@status.im>
--- ---
Waku is a privacy-preserving peer-to-peer messaging protocol for resource restricted devices. 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. 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. For the actual content being passed around, see the [7/WAKU-DATA](/spec/7) spec.
## Use of libp2p and protobuf ## Use of libp2p and protobuf
@ -293,6 +302,11 @@ To get compatibility with Waku v1:
- [7/WAKU-DATA](/spec/7) - [7/WAKU-DATA](/spec/7)
- [14/WAKU2-MESSAGE](/spec/14) - version 1 (encrypted with `7/WAKU-DATA`) - [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
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). 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) 14. [14/WAKU2-RLNRELAY spec](/spec/17)
15. [18/WAKU2-SWAP spec](/spec/18) 15. [18/WAKU2-SWAP spec](/spec/18)
16. [Ping protocol](https://docs.libp2p.io/concepts/protocols/#ping)