• Felix Lange's avatar
    p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540) · 350a87dd
    Felix Lange authored
    This change implements EIP-868. The UDPv4 transport announces support
    for the extension in ping/pong and handles enrRequest messages.
    
    There are two uses of the extension: If a remote node announces support
    for EIP-868 in their pong, node revalidation pulls the node's record.
    The Resolve method requests the record unconditionally.
    350a87dd
v4_udp_lookup_test.go 8.56 KB