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:
3 files changed
+30
No files matched your search
@@ -58,9 +58,13 @@ var deps = depDesc{
|
||||
lnwire.AnchorsOptional: {
|
||||
lnwire.StaticRemoteKeyOptional: {},
|
||||
},
|
||||
lnwire.AnchorsZeroFeeHtlcTxOptional: {
|
||||
lnwire.StaticRemoteKeyOptional: {},
|
||||
},
|
||||
lnwire.AMPOptional: {
|
||||
lnwire.PaymentAddrOptional: {},
|
||||
},
|
||||
lnwire.ExplicitChannelTypeOptional: {},
|
||||
}
|
||||
|
||||
// ValidateDeps asserts that a feature vector sets all features and their
|
||||
|
||||
Reference in new issue
Block a user