aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/server_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2018-05-17 21:11:27 +0800
committerGitHub <noreply@github.com>2018-05-17 21:11:27 +0800
commit6286c255f16a914b39ffd3389cba154a53e66a13 (patch)
treefabba7bb458dfb495df7efcd3c4f7022aa65bd96 /p2p/server_test.go
parentf6bc65fc681177b190522c92887979690f9ceefa (diff)
downloaddexon-6286c255f16a914b39ffd3389cba154a53e66a13.tar
dexon-6286c255f16a914b39ffd3389cba154a53e66a13.tar.gz
dexon-6286c255f16a914b39ffd3389cba154a53e66a13.tar.bz2
dexon-6286c255f16a914b39ffd3389cba154a53e66a13.tar.lz
dexon-6286c255f16a914b39ffd3389cba154a53e66a13.tar.xz
dexon-6286c255f16a914b39ffd3389cba154a53e66a13.tar.zst
dexon-6286c255f16a914b39ffd3389cba154a53e66a13.zip
p2p/enr: updates for discovery v4 compatibility (#16679)
This applies spec changes from ethereum/EIPs#1049 and adds support for pluggable identity schemes. Some care has been taken to make the "v4" scheme standalone. It uses public APIs only and could be moved out of package enr at any time. A couple of minor changes were needed to make identity schemes work: - The sequence number is now updated in Set instead of when signing. - Record is now copy-safe, i.e. calling Set on a shallow copy doesn't modify the record it was copied from.
Diffstat (limited to 'p2p/server_test.go')
0 files changed, 0 insertions, 0 deletions