Skip to content

Add OpenChannel::disable_counterparty_reserve#187

Merged
benthecarman merged 2 commits intolightningdevkit:mainfrom
tankyleo:2026-04-zero-reserve
Apr 15, 2026
Merged

Add OpenChannel::disable_counterparty_reserve#187
benthecarman merged 2 commits intolightningdevkit:mainfrom
tankyleo:2026-04-zero-reserve

Conversation

@tankyleo
Copy link
Copy Markdown
Contributor

When set, the counterparty will be allowed to spend its entire balance in the channel.

This setting cannot be set together with announce_channel.

@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented Apr 15, 2026

👋 Thanks for assigning @benthecarman 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.

@tankyleo tankyleo force-pushed the 2026-04-zero-reserve branch from 533b050 to 3a90bde Compare April 15, 2026 00:12
@tankyleo tankyleo requested a review from benthecarman April 15, 2026 00:13
announce_channel: bool,
#[arg(
long,
help = "Allow the counterparty to spend all its channel balance. This cannot be set together with `announce_channel`."
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we enforce the cannot set together with announce_channel on the cli side too

When set, the counterparty will be allowed to spend its entire balance
in the channel.

This setting cannot be set together with `announce_channel`.
@benthecarman benthecarman merged commit 5bd1c61 into lightningdevkit:main Apr 15, 2026
10 checks passed
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.

3 participants