mirror of https://github.com/status-im/op-geth.git
6286c255f1
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. |
||
---|---|---|
.. | ||
discover | ||
discv5 | ||
enr | ||
nat | ||
netutil | ||
protocols | ||
simulations | ||
testing | ||
dial.go | ||
dial_test.go | ||
message.go | ||
message_test.go | ||
metrics.go | ||
peer.go | ||
peer_error.go | ||
peer_test.go | ||
protocol.go | ||
rlpx.go | ||
rlpx_test.go | ||
server.go | ||
server_test.go |