grin/servers
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
..
src Allow to have more than min_peers/2 outbound peers (#2537) 2019-02-07 12:26:23 -08:00
tests Cleanup compiler warnings (#2323) 2019-01-10 12:18:25 -08:00
Cargo.toml bump for v1.0.1 (#2511) 2019-02-01 14:43:18 +00:00