substrate
substrate copied to clipboard
https://github.com/paritytech/substrate/pull/10688 doesn't take reserved nodes into account
https://github.com/paritytech/substrate/pull/10688 enforces the maximum number of peers, even if they were reserved.
What is the desired behavior? Not to count reserved peer connections as occupying slots?
Indeed
Partially resolved (for reserved nodes, added on startup) in https://github.com/paritytech/substrate/pull/11909
We should also account for reserved nodes, added at runtime via RPC. To implement this, we should refactor Peerset first into a sync struct https://github.com/paritytech/substrate/issues/11922. See the discussion in https://github.com/paritytech/substrate/pull/11909