-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
The new introduced access manager in LND 19 is very restrictive by disallowing new inbound and outbound connections (no channel peers) after a certain peer count threshold (30 by default). This can be exploited by consuming all available connection slots, thereby hindering our ability to establish new peer connections and open channels to new peers (or allowing new inbound capacity).
To address this, I propose the following adjustments to the access manager's behavior:
-
Unrestricted Outbound Connections: We must always allow outbound connections, irrespective of the current peer count. This guarantees our node's continuous ability to initiate connections with new peers and expand its channel network.
-
Conditional Inbound Connection Allowance: For inbound connections, a new peer should be granted a temporary grace period upon connection. During this brief time-window, the peer is expected to open a channel. If a channel is not established within this specified timeframe, the peer should be automatically disconnected.