lnrpc: add new CommitmentType for script enforced leased channels
This commit is contained in:
1 parent
e1c269c7ed
commit
c9f6d788e2
4 files changed
+425
-392
No files matched your search
@@ -1229,6 +1229,15 @@ enum CommitmentType {
|
||||
been broadcast.
|
||||
*/
|
||||
ANCHORS = 3;
|
||||
|
||||
/*
|
||||
A channel that uses a commitment type that builds upon the anchors
|
||||
commitment format, but in addition requires a CLTV clause to spend outputs
|
||||
paying to the channel initiator. This is intended for use on leased channels
|
||||
to guarantee that the channel initiator has no incentives to close a leased
|
||||
channel before its maturity date.
|
||||
*/
|
||||
SCRIPT_ENFORCED_LEASE = 4;
|
||||
}
|
||||
|
||||
message ChannelConstraints {
|
||||
|
||||
Reference in new issue
Block a user