go-ethereum
go-ethereum copied to clipboard
p2p/enode: add quic ENR entry
Add quic entry to the ENR as proposed in https://github.com/ethereum/consensus-specs/pull/3644
Allowing to read Lighthouse quic port from ENR.
Not sure if we actually need the accessor on enode.Node at this point. We can keep QUICEndpoint but make it query the ENR directly instead of caching the port.
I added a few more tests here. It didn't seem like the included test was really verifying the port was loaded correctly. Also verifying we don't return an endpoint with a quic6 port for IPv4 and vice versa. Not sure how important that is.
Any update on the status of this PR?
Is the PR good for merge?