[lightning] add taproot-channels to node features
Update from https://github.com/lightningnetwork/lnd/blob/master/lnwire/features.go
This commit is contained in:
parent
50460d4025
commit
2bc3352785
@ -44,6 +44,10 @@ export enum FeatureBits {
|
|||||||
KeysendOptional = 55,
|
KeysendOptional = 55,
|
||||||
ScriptEnforcedLeaseRequired = 2022,
|
ScriptEnforcedLeaseRequired = 2022,
|
||||||
ScriptEnforcedLeaseOptional = 2023,
|
ScriptEnforcedLeaseOptional = 2023,
|
||||||
|
SimpleTaprootChannelsRequiredFinal = 80,
|
||||||
|
SimpleTaprootChannelsOptionalFinal = 81,
|
||||||
|
SimpleTaprootChannelsRequiredStaging = 180,
|
||||||
|
SimpleTaprootChannelsOptionalStaging = 181,
|
||||||
MaxBolt11Feature = 5114,
|
MaxBolt11Feature = 5114,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -85,6 +89,10 @@ export const FeaturesMap = new Map<FeatureBits, string>([
|
|||||||
[FeatureBits.ZeroConfOptional, 'zero-conf'],
|
[FeatureBits.ZeroConfOptional, 'zero-conf'],
|
||||||
[FeatureBits.ShutdownAnySegwitRequired, 'shutdown-any-segwit'],
|
[FeatureBits.ShutdownAnySegwitRequired, 'shutdown-any-segwit'],
|
||||||
[FeatureBits.ShutdownAnySegwitOptional, 'shutdown-any-segwit'],
|
[FeatureBits.ShutdownAnySegwitOptional, 'shutdown-any-segwit'],
|
||||||
|
[FeatureBits.SimpleTaprootChannelsRequiredFinal, 'taproot-channels'],
|
||||||
|
[FeatureBits.SimpleTaprootChannelsOptionalFinal, 'taproot-channels'],
|
||||||
|
[FeatureBits.SimpleTaprootChannelsRequiredStaging, 'taproot-channels-staging'],
|
||||||
|
[FeatureBits.SimpleTaprootChannelsOptionalStaging, 'taproot-channels-staging'],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user