From cf20a7ae3e3c6ac600b326f0751a97bbe3a9fc82 Mon Sep 17 00:00:00 2001 From: Age Manning Date: Wed, 18 Mar 2020 18:20:25 +1100 Subject: [PATCH] Shift some ENR fields to MAY --- specs/phase0/p2p-interface.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs/phase0/p2p-interface.md b/specs/phase0/p2p-interface.md index fbbcb088e..a85695a9c 100644 --- a/specs/phase0/p2p-interface.md +++ b/specs/phase0/p2p-interface.md @@ -622,6 +622,9 @@ This integration enables the libp2p stack to subsequently form connections and s The Ethereum Node Record (ENR) for an Ethereum 2.0 client MUST contain the following entries (exclusive of the sequence number and signature, which MUST be present in an ENR): - The compressed secp256k1 publickey, 33 bytes (`secp256k1` field). + +The ENR MAY contain the following entries: + - An IPv4 address (`ip` field) and/or IPv6 address (`ip6` field). - A TCP port (`tcp` field) representing the local libp2p listening port. - A UDP port (`udp` field) representing the local discv5 listening port.