aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2019-04-30 19:13:22 +0800
committerFelix Lange <fjl@twurst.com>2019-04-30 19:13:22 +0800
commitdba1750edae27eb75e169cf6c6966b364193fd6a (patch)
tree4a6f3e855ccb73436bcf90af50498bc8cbd8c28c /les
parenta43ec8bba5e654d4279bdb05561a11b797d6c5a3 (diff)
downloadgo-tangerine-dba1750edae27eb75e169cf6c6966b364193fd6a.tar
go-tangerine-dba1750edae27eb75e169cf6c6966b364193fd6a.tar.gz
go-tangerine-dba1750edae27eb75e169cf6c6966b364193fd6a.tar.bz2
go-tangerine-dba1750edae27eb75e169cf6c6966b364193fd6a.tar.lz
go-tangerine-dba1750edae27eb75e169cf6c6966b364193fd6a.tar.xz
go-tangerine-dba1750edae27eb75e169cf6c6966b364193fd6a.tar.zst
go-tangerine-dba1750edae27eb75e169cf6c6966b364193fd6a.zip
p2p/discover: split out discv4 code
This change restructures the internals of p2p/discover to make room for the discv5 code which will soon be added to this package. - packet type names now have a "V4" suffix. - ListenUDP returns *UDPv4 instead of *Table. This technically breaks the API but the only caller in go-ethereum is package p2p, which uses a compatible interface and doesn't need changes. - The internal transport interface is changed to make Table reusable for v5. - The 'lookup' code moves from table to transport. This required updating the lookup unit test to use udpTest instead of a custom transport.
Diffstat (limited to 'les')
0 files changed, 0 insertions, 0 deletions