Increase peer max count significantly (#2754)

* Increase peer max count significantly

* Reduce limit to 125, like bitcoin
This commit is contained in:
Ignotus Peverell 2019-04-24 15:04:59 -07:00 committed by GitHub
parent de21f0d62d
commit 81a6af9624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -229,7 +229,7 @@ fn comments() -> HashMap<String, String> {
#ban_window = 10800
#maximum number of peers
#peer_max_count = 25
#peer_max_count = 125
#preferred minimum number of peers (we'll actively keep trying to add peers
#until we get to at least this number

View file

@ -49,7 +49,7 @@ pub const MAX_LOCATORS: u32 = 20;
const BAN_WINDOW: i64 = 10800;
/// The max peer count
const PEER_MAX_COUNT: u32 = 25;
const PEER_MAX_COUNT: u32 = 125;
/// min preferred peer count
const PEER_MIN_PREFERRED_COUNT: u32 = 8;