mirror of https://github.com/status-im/op-geth.git
914e57e49b
With the introduction of static/trusted nodes, the peer count can go above MaxPeers. Update the capacity check to handle this. While here, decouple the trusted nodes check from the handshake by passing a function instead. |
||
---|---|---|
.. | ||
discover | ||
nat | ||
handshake.go | ||
handshake_test.go | ||
message.go | ||
message_test.go | ||
peer.go | ||
peer_error.go | ||
peer_test.go | ||
protocol.go | ||
rlpx.go | ||
rlpx_test.go | ||
server.go | ||
server_test.go | ||
testlog_test.go |