grin/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
..
common Build warning sync (#2416) 2019-01-18 21:40:48 +00:00
grin Allow to have more than min_peers/2 outbound peers (#2537) 2019-02-07 12:26:23 -08:00
mining Handle rpc requests unwrap crash in stratumserver.rs (#2446) 2019-01-26 22:21:11 +01:00
webwallet Convert to Rust 2018 edition (#2084) 2018-12-08 00:59:40 +01:00
common.rs Convert to Rust 2018 edition (#2084) 2018-12-08 00:59:40 +01:00
grin.rs Convert to Rust 2018 edition (#2084) 2018-12-08 00:59:40 +01:00
lib.rs Compiler warnings 20190123 (#2462) 2019-01-25 10:09:32 +00:00
mining.rs Convert to Rust 2018 edition (#2084) 2018-12-08 00:59:40 +01:00
webwallet.rs Convert to Rust 2018 edition (#2084) 2018-12-08 00:59:40 +01:00