Felix Lange 914e57e49b p2p: fix disconnect at capacity
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.
2015-05-08 16:09:54 +02:00
..
2015-05-06 22:58:03 +02:00
2015-05-08 16:09:54 +02:00
2015-04-10 13:26:27 +02:00
2015-02-13 23:54:34 +01:00
2015-05-08 16:09:54 +02:00
2015-05-08 16:09:54 +02:00
2015-03-23 16:41:41 +00:00