10/WAKU2: Clarify discovery domain relation to EIP-1459 (#421)

This commit is contained in:
Hanno Cornelius 2021-07-07 11:03:50 +02:00 committed by GitHub
parent 8d7ad8a31a
commit a20ef2d11c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 4 deletions

View File

@ -103,11 +103,13 @@ It MAY be different if or when:
## Discovery domain
The discovery domain is not yet specified.
As such, currently static nodes should be used.
Please refer to specific implementations for details on publicly available nodes, as these may change over time.
Waku v2 can retrieve a list of nodes to connect to using DNS-based discovery as per [EIP-1459](https://eips.ethereum.org/EIPS/eip-1459).
While this is a useful way of bootstrapping connection to a set of peers,
it MAY be used in conjunction with an [ambient peer discovery](https://docs.libp2p.io/concepts/publish-subscribe/#discovery) procedure to find still other nodes to connect to.
Mechanisms for ambient peer discovery are not yet specified for Waku v2.
It is possible to bypass the discovery domain by specifying static nodes.
<!-- TODO: To document how we use Discovery v5, EIP-1459 (DNS- based) etc. -->
<!-- TODO: Document (a) how we map ENR to multiaddr for EIP-1459, once specified, (b) ambient peer discovery. -->
## Request/reply domain
@ -344,3 +346,7 @@ Copyright and related rights waived via [CC0](https://creativecommons.org/public
15. [18/WAKU2-SWAP spec](/spec/18)
16. [Ping protocol](https://docs.libp2p.io/concepts/protocols/#ping)
17. [EIP-1459](https://eips.ethereum.org/EIPS/eip-1459)
18. [Ambient peer discovery](https://docs.libp2p.io/concepts/publish-subscribe/#discovery)