aboutsummaryrefslogtreecommitdiffstats
path: root/miner/worker.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 /miner/worker.go
parentf6bc65fc681177b190522c92887979690f9ceefa (diff)
downloaddexon-6286c255f16a914b39ffd3389cba154a53e66a13.tar.gz
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 'miner/worker.go')
0 files changed, 0 insertions, 0 deletions