-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch anchorlist and whitelist in precendence, fix max out conn
- Prior to this, anchor peers were being given precendence over whitelist peers. - Additionally, when max out connections were set to -1, it appears that they were being changed to P2P_DEFAULT_MAX_OUT_CONNECTIONS which is defined to have a value of 8. Since these values are already passed in via command line options, this would seem incorrect. - This should also hopefully fix a crash with SIGSEGV that was occurring in p2p scenarios (likely happening when local connections = 0 and then a modulo operation is performed
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters