plugeth/p2p/netutil
Felix Lange c420dcb39c
p2p: enforce connection retry limit on server side (#19684)
The dialer limits itself to one attempt every 30s. Apply the same limit
in Server and reject peers which try to connect too eagerly. The check
against the limit happens right after accepting the connection.

Further changes in this commit ensure we pass the Server logger
down to Peer instances, discovery and dialState. Unit test logging now
works in all Server tests.
2019-06-11 12:45:33 +02:00
..
addrutil.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00
error_test.go p2p/netutil: new package for network utilities 2016-11-22 22:20:38 +01:00
error.go p2p/netutil: new package for network utilities 2016-11-22 22:20:38 +01:00
iptrack_test.go p2p, p2p/discover: add signed ENR generation (#17753) 2018-10-12 11:47:24 +02:00
iptrack.go p2p, p2p/discover: add signed ENR generation (#17753) 2018-10-12 11:47:24 +02:00
net_test.go p2p, p2p/discover: misc connectivity improvements (#16069) 2018-02-12 14:36:09 +02:00
net.go p2p, p2p/discover: misc connectivity improvements (#16069) 2018-02-12 14:36:09 +02:00
toobig_notwindows.go p2p/netutil: new package for network utilities 2016-11-22 22:20:38 +01:00
toobig_windows.go p2p/netutil: new package for network utilities 2016-11-22 22:20:38 +01:00