ENR structure: Add `tcp6`, `quic6` and `udp6`.
As discussed in ACDC#139.
This PR is draft until https://github.com/ethereum/consensus-specs/pull/3644 is merged.
we probably should also update https://github.com/ethereum/consensus-specs/blob/f4e3908801ef440771347439e72a6d37080c74b6/specs/phase0/p2p-interface.md?plain=1#L121-L137
to state that clients may support QUIC right?
we probably should also update
https://github.com/ethereum/consensus-specs/blob/f4e3908801ef440771347439e72a6d37080c74b6/specs/phase0/p2p-interface.md?plain=1#L121-L137
to state that clients may support QUIC right?
Yep I agree. Should add QUIC support in here
ping after #3644 got merged, this can now also be merged with the suggested updates above right?
This seems like a breaking change?
Currently if some node sets ip6 and tcp, we assume that we can connect to that node with the specified IP address and TCP port?
But after this PR, specifying only ip6 and tcp doesn't make any sense? the node is supposed to specify ip6 and tcp6 instead.
I think we should ensure that all the clients have changed the logic properly before we merge this PR.
@nalepae Could you undraft the PR if it's ready for review and merge?
we probably should also update
https://github.com/ethereum/consensus-specs/blob/f4e3908801ef440771347439e72a6d37080c74b6/specs/phase0/p2p-interface.md?plain=1#L121-L137
to state that clients may support QUIC right?
Fixed in 8ab7bc60a5c5f7d709951e1486a9556d471e3ffb.
@nalepae Could you undraft the PR if it's ready for review and merge?
Ready for review, but added an extra commit: See https://github.com/ethereum/consensus-specs/pull/3874#issuecomment-2538328504
But after this PR, specifying only ip6 and tcp doesn't make any sense? the node is supposed to specify ip6 and tcp6 instead.
@ppopth if "tcp6" is unspecified, but "tcp" is present, the client should use it. The idea with tcp6 is just to support an alternative port on v6 when it is present.
@ppopth if "tcp6" is unspecified, but "tcp" is present, the client should use it. The idea with tcp6 is just to support an alternative port on v6 when it is present.
alright, got it.