mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-27 06:55:21 +00:00
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.