mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
a63cfa7138
* 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 |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |