-
Notifications
You must be signed in to change notification settings - Fork 449
Open and accept zero reserve channels #4428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
TheBlueMatt
merged 12 commits into
lightningdevkit:main
from
tankyleo:2026-02-zero-reserve
Mar 26, 2026
+2,277
−580
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a3dded1
Set the correct floor for the reserves in inbound V2 channels
tankyleo 98b71c8
Add inbound and outbound checks for zero reserve channels
tankyleo 63e4538
Prevent downgrades in case holder-selected reserve is zero satoshis
tankyleo 954bf2d
Add 0-reserve to `accept_inbound_channel_from_trusted_peer`
tankyleo ef7a0d1
Add `ChannelManager::create_channel_to_trusted_peer_0reserve`
tankyleo d6fc690
Shakedown zero reserve channels
tankyleo 62c58b8
Update `chanmon_consistency` to include 0FC and 0-reserve channels
tankyleo 396af7c
Don't fail channel if inbound UA breaches counterparty-selected reserve
tankyleo 4bd906b
Add 0-reserve to the internal API of V2 channels
tankyleo 2e86554
Format `ChannelManager::create_channel_internal` and...
tankyleo 670e5f8
Create better helper functions in `tx_builder`
tankyleo 32a67f8
Use inline format variables in channel/channelmanager format strings
tankyleo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.