iri icon indicating copy to clipboard operation
iri copied to clipboard

MAX_PEERS configuration parameter name should be changed

Open GalRogozinski opened this issue 8 years ago • 3 comments

Description

Change MAX_PEERS name to TBD

Motivation

The name of MAX_PEERS is confusing! It means how many neighbors can be added w/o mutual tethering. How it misleads you to think that this is a limitation on the total amount of neighbors (peers).

Requirements

Decide on a new name and change it.

Open Questions (optional)

MAX_STRANGERS maybe?

GalRogozinski avatar Jun 20 '18 10:06 GalRogozinski

Accepting suggestions for the parameter name :)

jakubcech avatar Jun 28 '18 09:06 jakubcech

IRI logs a "Adding non-tethered neighbor" log line and I think it's a good one.

MAX_UNTETHERED_NEIGHBORS

or

MAX_UNTETHERED

?

geminoz avatar Jun 28 '18 13:06 geminoz

+1 for MAX_UNTETHERED_NEIGHBORS

legacycode avatar Nov 29 '18 18:11 legacycode