-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Introduce new commitment format to enforce channel lease expirations in scripts #5549
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
Closed
wpaulino
wants to merge
29
commits into
lightningnetwork:master
from
wpaulino:channel-lease-script-enforcement
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
4253ff7
lnwire: introduce new explicit ChannelType TLV record
Roasbeef 822a3af
lnwire: add new ChannelType field as TLV record to Open/AcceptChannel
Roasbeef 55aef0b
lnwire: add new feature bits for explicit channel type negotiation
Roasbeef 268990a
rpc: add new commitment_type field to OpenChannelRequest
Roasbeef 459d7dc
lnwire: extend RawFeatureVector with helper methods
wpaulino de79673
funding: add explicit commitment type negotiation support
wpaulino ce2918e
funding: use explicit commitment type negotiation when possible
Roasbeef 082c019
lntest: replace `commitType` type with rpc alternative
wpaulino 478f640
lntest: use explicit channel commitment negotiation for multi-hop itests
wpaulino 450f2be
lncli: add channel type flag to openchannel command
wpaulino 0c56b07
docs: add explicit channel negotiation text to release notes
wpaulino 20f3b54
lncfg: add protocol config option for script enforced lease support
wpaulino dc1dd6e
lnwire+feature: add feature bit for script enforced lease support
wpaulino 067f335
lnwire: add LeaseExpiry custom record for Open+AcceptChannel
wpaulino 9b05627
channeldb: add new ChannelType bit for script enforced leased channels
wpaulino 5c46a9f
funding+lnwallet: support funding new script enforced leased channels
wpaulino aa58449
input: add scripts for new script enforced lease commitment type
wpaulino 5d4d6ce
input: add witness gen and weight estimates for new commitment type
wpaulino 4e2d599
lnwallet: coalesce different supported output scripts into single method
wpaulino b9aed84
lnwallet: support transactions and scripts for new commitment type
wpaulino 425242a
input: add new constructor to support CSV and CLTV locked inputs
wpaulino 4550a1c
contractcourt: handle sweeping script-enforced leased channel outputs
wpaulino c34d074
sweep: remove previous exclusive group upon re-offered inputs
wpaulino 4ab8155
lnrpc: add new CommitmentType for script enforced leased channels
wpaulino 8632820
chanacceptor: include commitment type in channel acceptor requests
wpaulino ab96e20
itest: update itests to use new script-enforced lease commitment type
wpaulino ee40e8e
chanbackup: support backup restore of script enforced leased channels
wpaulino 19e01ad
itest: test backup restore of script enforced lease channel type
wpaulino debc95c
docs: add script enforced channel leases text to release notes
wpaulino 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
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
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.
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.