bsc/p2p/discover
Felix Lange 350a87dd3c
p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540)
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.
2019-05-15 06:47:45 +02:00
..
common.go p2p/discover: split out discv4 code 2019-04-30 13:13:22 +02:00
node.go p2p/discover, p2p/enode: rework endpoint proof handling, packet logging (#18963) 2019-01-29 17:39:20 +01:00
ntp.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
table_test.go p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540) 2019-05-15 06:47:45 +02:00
table_util_test.go p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540) 2019-05-15 06:47:45 +02:00
table.go p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540) 2019-05-15 06:47:45 +02:00
v4_udp_lookup_test.go p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540) 2019-05-15 06:47:45 +02:00
v4_udp_test.go p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540) 2019-05-15 06:47:45 +02:00
v4_udp.go p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540) 2019-05-15 06:47:45 +02:00