massa
massa copied to clipboard
Make max_in_connections_per_ip PeerType specific
Also maybe it's worth specifying the max number of open nodes per IP address for each type to give more granularity.
You mean the max_in_connections_per_ip in Network settings would become PeerType specific ?
maybe as a followup
Originally posted by @damip in https://github.com/massalabs/massa/pull/2297#discussion_r813649154
- [ ] add max_in_connections_per_ip to PeerTypeConnectionConfig
- [ ] remove max_in_connections_per_ip from NetworkSettings
- [ ] propagate the changes
- [ ] update the tests