-
Felix Lange authored
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.
914e57e4
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| 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 |