Enum Feature
- Namespace
- NLightning.Domain.Enums
- Assembly
- NLightning.Domain.dll
The features that can be set on a node as defined on https://github.com/lightning/bolts/blob/master/09-features.md
public enum Feature
Fields
BasicMpp = 1716 is for the compulsory bit, 17 is for the optional bit.
This feature is optional and is used to indicate that the node supports basic multi part payments.
GossipQueries = 76 is for the compulsory bit, 7 is for the optional bit.
This feature is optional and is used to indicate that the node requires the more sophisticated gossip queries.
GossipQueriesEx = 1110 is for the compulsory bit, 11 is for the optional bit.
This feature is optional and is used to indicate that the node supports inclusion of additional information in the gossip queries.
InitialRoutingSync = 33 is for the optional bit.
This feature is optional and is used to indicate that the node supports the initial_routing_sync field in the channel_reestablish message.
OptionAnchorOutputs = 2120 is for the compulsory bit, 21 is for the optional bit.
This feature is optional and is used to indicate that the node supports anchor outputs.
OptionAnchorsZeroFeeHtlcTx = 2322 is for the compulsory bit, 23 is for the optional bit.
This feature is optional and is used to indicate that the node supports anchor outputs with zero fee htlc transactions.
OptionChannelType = 4544 is for the compulsory bit, 45 is for the optional bit.
This feature is optional and is used to indicate that the node supports channel type.
OptionDataLossProtect = 10 is for the compulsory bit, 1 is for the optional bit.
This feature is optional and is used to indicate that the node supports the data_loss_protect field in the channel_reestablish message.
OptionDualFund = 2928 is for the compulsory bit, 29 is for the optional bit.
This feature is optional and is used to indicate that the node supports dual funded channels (v2).
OptionOnionMessages = 3938 is for the compulsory bit, 39 is for the optional bit.
This feature is optional and is used to indicate that the node supports onion messages.
OptionPaymentMetadata = 4948 is for the compulsory bit, 49 is for the optional bit.
This feature is optional and is used to indicate that the node supports payment metadata in TLV records.
OptionRouteBlinding = 2524 is for the compulsory bit, 25 is for the optional bit.
This feature is optional and is used to indicate that the node supports blinded paths.
OptionScidAlias = 4746 is for the compulsory bit, 47 is for the optional bit.
This feature is optional and is used to indicate that the node supports channel aliases for routing.
OptionShutdownAnySegwit = 2726 is for the compulsory bit, 27 is for the optional bit.
This feature is optional and is used to indicate that the node supports future versions of segwit in shutdown.
OptionStaticRemoteKey = 1312 is for the compulsory bit, 13 is for the optional bit.
This feature is optional and is used to indicate that the node supports static_remotekey.
OptionSupportLargeChannel = 1918 is for the compulsory bit, 19 is for the optional bit.
This feature is optional and is used to indicate that the node supports large channels.
OptionUpfrontShutdownScript = 54 is for the compulsory bit, 5 is for the optional bit.
This feature is optional and is used to indicate that the node supports the upfront_shutdown_script field in the open_channel message.
OptionZeroconf = 5150 is for the compulsory bit, 51 is for the optional bit.
This feature is optional and is used to indicate that the node supports zeroconf channels.
PaymentSecret = 1514 is for the compulsory bit, 15 is for the optional bit.
This feature is optional and is used to indicate that the node supports payment_secret.
VarOnionOptin = 98 is for the compulsory bit, 9 is for the optional bit.
This feature is compulsory and is used to indicate that the node supports variable length onion messages.
Remarks
The values here represents the ODD (Optional) bit position in the feature flags.