diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2018-05-17 21:11:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 21:11:27 +0800 |
commit | 6286c255f16a914b39ffd3389cba154a53e66a13 (patch) | |
tree | fabba7bb458dfb495df7efcd3c4f7022aa65bd96 /eth/handler.go | |
parent | f6bc65fc681177b190522c92887979690f9ceefa (diff) | |
download | go-tangerine-6286c255f16a914b39ffd3389cba154a53e66a13.tar go-tangerine-6286c255f16a914b39ffd3389cba154a53e66a13.tar.gz go-tangerine-6286c255f16a914b39ffd3389cba154a53e66a13.tar.bz2 go-tangerine-6286c255f16a914b39ffd3389cba154a53e66a13.tar.lz go-tangerine-6286c255f16a914b39ffd3389cba154a53e66a13.tar.xz go-tangerine-6286c255f16a914b39ffd3389cba154a53e66a13.tar.zst go-tangerine-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 'eth/handler.go')
0 files changed, 0 insertions, 0 deletions