Skip to content

Commit 03b3050

Browse files
Roasbeefguggero
authored andcommitted
lnwire: add new taproot chans overlay feature bit
1 parent 51f0a33 commit 03b3050

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lnwire/features.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,14 @@ const (
273273
// a BOLT 11 invoice.
274274
Bolt11BlindedPathsOptional = 261
275275

276+
// SimpleTaprootOverlayChansRequired is a required bit that indicates
277+
// support for the special custom taproot overlay channel.
278+
SimpleTaprootOverlayChansOptional = 2025
279+
280+
// SimpleTaprootOverlayChansRequired is a required bit that indicates
281+
// support for the special custom taproot overlay channel.
282+
SimpleTaprootOverlayChansRequired = 2026
283+
276284
// MaxBolt11Feature is the maximum feature bit value allowed in bolt 11
277285
// invoices.
278286
//
@@ -341,6 +349,8 @@ var Features = map[FeatureBit]string{
341349
SimpleTaprootChannelsOptionalStaging: "simple-taproot-chans-x",
342350
Bolt11BlindedPathsOptional: "bolt-11-blinded-paths",
343351
Bolt11BlindedPathsRequired: "bolt-11-blinded-paths",
352+
SimpleTaprootOverlayChansOptional: "taproot-overlay-chans",
353+
SimpleTaprootOverlayChansRequired: "taproot-overlay-chans",
344354
}
345355

346356
// RawFeatureVector represents a set of feature bits as defined in BOLT-09. A

0 commit comments

Comments
 (0)