lnwire: add feature bits for simple taproot chans
This commit is contained in:
1 file changed
+10
@@ -231,6 +231,14 @@ const (
|
|||||||
// TODO: Decide on actual feature bit value.
|
// TODO: Decide on actual feature bit value.
|
||||||
ScriptEnforcedLeaseOptional FeatureBit = 2023
|
ScriptEnforcedLeaseOptional FeatureBit = 2023
|
||||||
|
|
||||||
|
// SimpleTaprootChannelsRequred is a required bit that indicates the
|
||||||
|
// node is able to create taproot-native channels.
|
||||||
|
SimpleTaprootChannelsRequired = 80
|
||||||
|
|
||||||
|
// SimpleTaprootChannelsOptional is an optional bit that indicates the
|
||||||
|
// node is able to create taproot-native channels.
|
||||||
|
SimpleTaprootChannelsOptional = 81
|
||||||
|
|
||||||
// MaxBolt11Feature is the maximum feature bit value allowed in bolt 11
|
// MaxBolt11Feature is the maximum feature bit value allowed in bolt 11
|
||||||
// invoices.
|
// invoices.
|
||||||
//
|
//
|
||||||
@@ -291,6 +299,8 @@ var Features = map[FeatureBit]string{
|
|||||||
ZeroConfOptional: "zero-conf",
|
ZeroConfOptional: "zero-conf",
|
||||||
ShutdownAnySegwitRequired: "shutdown-any-segwit",
|
ShutdownAnySegwitRequired: "shutdown-any-segwit",
|
||||||
ShutdownAnySegwitOptional: "shutdown-any-segwit",
|
ShutdownAnySegwitOptional: "shutdown-any-segwit",
|
||||||
|
SimpleTaprootChannelsRequired: "simple-taproot-chans",
|
||||||
|
SimpleTaprootChannelsOptional: "simple-taproot-chans",
|
||||||
}
|
}
|
||||||
|
|
||||||
// RawFeatureVector represents a set of feature bits as defined in BOLT-09. A
|
// RawFeatureVector represents a set of feature bits as defined in BOLT-09. A
|
||||||
|
|||||||
Reference in new issue
Block a user