mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-12 06:02:51 +02:00
lnwire: add new feature bits for explicit channel type negotiation
If these bits are present, then both sides can examine the new CommitmentType TLV field that's present and use this in place of the existing implicit commiment type negotiation. With this change, it's now possible to actually deprecate old unsupported commitment types properly.
This commit is contained in:
@ -60,4 +60,8 @@ var defaultSetDesc = setDesc{
|
||||
lnwire.AMPRequired: {
|
||||
SetInvoiceAmp: {}, // 9A
|
||||
},
|
||||
lnwire.ExplicitChannelTypeOptional: {
|
||||
SetInit: {}, // I
|
||||
SetNodeAnn: {}, // N
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user