Files
grin-node/servers/src
hashmap a63cfa7138 Allow to have more than min_peers/2 outbound peers (#2537)
* Allow to have more than min_peers/2 outbound peers

Default value is 8, so we allow only 4 outbound peers, unfortunately if a node is behind NAT it can't get inbound peers and it stucks with 4 peers as maximum.
This PR allows a number of outbound peers to be between min_peers and max_peers/2. Node behind NAT will eventually have just min_peers number of peers.

* Extract into healthy_peers_mix function
2019-02-07 12:26:23 -08:00
..
2019-01-18 21:40:48 +00:00
2018-12-08 00:59:40 +01:00
2018-12-08 00:59:40 +01:00
2019-01-25 10:09:32 +00:00
2018-12-08 00:59:40 +01:00