iri
iri copied to clipboard
MAX_PEERS configuration parameter name should be changed
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?
Accepting suggestions for the parameter name :)
IRI logs a "Adding non-tethered neighbor" log line and I think it's a good one.
MAX_UNTETHERED_NEIGHBORS
or
MAX_UNTETHERED
?
+1 for MAX_UNTETHERED_NEIGHBORS