Skip to content

lightning: rate-limit incoming channels#10725

Open
f321x wants to merge 3 commits into
spesmilo:masterfrom
f321x:on_open_channel_rate_limit
Open

lightning: rate-limit incoming channels#10725
f321x wants to merge 3 commits into
spesmilo:masterfrom
f321x:on_open_channel_rate_limit

Conversation

@f321x

@f321x f321x commented Jul 1, 2026

Copy link
Copy Markdown
Member

Implements rate-limiting incoming channel opening requests as protection for public nodes.

  • 20 unfunded channels overall
  • 2 unfunded channels per peer
  • a peer with whom we had an active channel before is allowed to exceed the global limit

unfunded channel = channel with less than one confirmation

f321x added 3 commits July 1, 2026 16:26
Implement rate limiting for incoming lightning channels
to prevent excessive channel opening attempts.
When awaiting a message on the message queue, also raise an
exception for received warnings so the caller is aware of the failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant