Skip to content

Conversation

@Camillarhi
Copy link
Contributor

This PR adds configuration options to control which peers can open inbound channels and how many channels each peer can open.

Right now, we can manually accept/reject each channel, but we don't have a way to automatically block known bad peers or stop a peer from spamming with lots of channels.

Changes

  • Add blocked_peers list to automatically reject channels from specific peers
  • Add max_channels_per_peer option to limit channels per peer

- Add `blocked_peers` list to automatically reject channels from specific peers
- Add `max_channels_per_peer` option to limit channels per peer
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Nov 13, 2025

I've assigned @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@ldk-reviews-bot
Copy link

🔔 1st Reminder

Hey @tnull! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@ldk-reviews-bot
Copy link

🔔 2nd Reminder

Hey @tnull! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants