op-geth/p2p
Felix Lange 6286c255f1
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.
2018-05-17 15:11:27 +02:00
..
discover p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
discv5 p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
enr p2p/enr: updates for discovery v4 compatibility (#16679) 2018-05-17 15:11:27 +02:00
nat p2p/nat: delete port mapping before adding (#15222) 2017-10-06 13:39:47 +02:00
netutil p2p, p2p/discover: misc connectivity improvements (#16069) 2018-02-12 14:36:09 +02:00
protocols p2p/protocols: gofmt -w -s 2018-02-22 11:37:57 +01:00
simulations p2p/simulations/adapters: fix websocket log line parsing in exec adapter (#16667) 2018-05-08 17:05:27 +02:00
testing p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
dial.go p2p: when peer is removed remove it also from dial history (#16060) 2018-02-21 15:03:26 +01:00
dial_test.go p2p: when peer is removed remove it also from dial history (#16060) 2018-02-21 15:03:26 +01:00
message.go p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
metrics.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
peer.go p2p: don't discard reason set by Disconnect (#16559) 2018-05-09 01:20:20 +02:00
peer_error.go p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
peer_test.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
protocol.go eth, p2p, rpc/api: polish protocol info gathering 2015-10-28 12:44:15 +02:00
rlpx.go ecies: drop randomness parameter from `PrivateKey.Decrypt` (#16374) 2018-03-26 13:46:18 +03:00
rlpx_test.go p2p: don't send DiscReason when using net.Pipe (#16004) 2018-02-22 11:41:06 +01:00
server.go p2p: remove unused code (#16158) 2018-02-22 19:20:28 +02:00
server_test.go p2p/simulations: various stability fixes (#15198) 2017-12-01 12:49:04 +01:00