mirror of https://github.com/status-im/op-geth.git
c420dcb39c
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. |
||
---|---|---|
.. | ||
addrutil.go | ||
error.go | ||
error_test.go | ||
iptrack.go | ||
iptrack_test.go | ||
net.go | ||
net_test.go | ||
toobig_notwindows.go | ||
toobig_windows.go |