Update enr.md

This commit is contained in:
Jimmy Debe 2024-06-25 09:39:04 -04:00 committed by GitHub
parent 8f78bb4715
commit 6e17998e21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 6 deletions

View File

@ -8,7 +8,7 @@ contributors:
## Abstract ## Abstract
This RFC describes the usage of the ENR (Ethereum Node Records) format for [10/WAKU2](https://rfc.vac.dev/spec/10/) purposes. This RFC describes the usage of the ENR (Ethereum Node Records) format for [10/WAKU2](https://rfc.vac.dev/waku/standards/core/10/waku2) purposes.
The ENR format is defined in [EIP-778](https://eips.ethereum.org/EIPS/eip-778) [[3]](#references). The ENR format is defined in [EIP-778](https://eips.ethereum.org/EIPS/eip-778) [[3]](#references).
This RFC is an extension of EIP-778, ENR used in Waku v2 MUST adhere to both EIP-778 and 31/WAKU2-ENR. This RFC is an extension of EIP-778, ENR used in Waku v2 MUST adhere to both EIP-778 and 31/WAKU2-ENR.
@ -41,7 +41,7 @@ Would carry some ambiguity: Is the certificate securing the websocket port valid
the ipv4 address? the ipv4 address?
the ipv6 address? the ipv6 address?
The [10/WAKU2](https://rfc.vac.dev/spec/10/) protocol family is built on the [libp2p](https://github.com/libp2p/specs) protocol stack. The [10/WAKU2](https://rfc.vac.dev/waku/standards/core/10/waku2) protocol family is built on the [libp2p](https://github.com/libp2p/specs) protocol stack.
Hence, it uses [multiaddr](https://github.com/multiformats/multiaddr) to format network addresses. Hence, it uses [multiaddr](https://github.com/multiformats/multiaddr) to format network addresses.
Directly storing one or several multiaddresses in the ENR would fix the issues listed above: Directly storing one or several multiaddresses in the ENR would fix the issues listed above:
@ -162,7 +162,8 @@ Copyright and related rights waived via [CC0](https://creativecommons.org/public
## References ## References
- [1](https://github.com/status-im/nim-waku/pull/690) - [1](https://rfc.vac.dev/waku/standards/core/10/waku2)
- [2](https://github.com/vacp2p/rfc/issues/462#issuecomment-943869940) - [2](https://github.com/status-im/nim-waku/pull/690)
- [3](https://eips.ethereum.org/EIPS/eip-778) - [3](https://github.com/vacp2p/rfc/issues/462#issuecomment-943869940)
- [4](https://github.com/ethereum/devp2p/blob/master/discv5/discv5.md) - [4](https://eips.ethereum.org/EIPS/eip-778)
- [5](https://github.com/ethereum/devp2p/blob/master/discv5/discv5.md)