Class FeatureOptions
- Namespace
- NLightning.Domain.Node.Options
- Assembly
- NLightning.Domain.dll
public class FeatureOptions
- Inheritance
-
FeatureOptions
- Inherited Members
Properties
BasicMpp
Enable basic MPP.
public FeatureSupport BasicMpp { get; set; }
Property Value
BeyondSegwitShutdown
Enable beyond segwit shutdown.
public FeatureSupport BeyondSegwitShutdown { get; set; }
Property Value
ChainHashes
The chain hashes of the node.
public IEnumerable<ChainHash> ChainHashes { get; set; }
Property Value
Remarks
Initialized as Mainnet if not set.
DualFund
Enable dual fund.
public FeatureSupport DualFund { get; set; }
Property Value
ExpandedGossipQueries
Enable expanded gossip queries.
public FeatureSupport ExpandedGossipQueries { get; set; }
Property Value
GossipQueries
Enable gossip queries.
public FeatureSupport GossipQueries { get; set; }
Property Value
InitialRoutingSync
Enable initial routing sync.
public FeatureSupport InitialRoutingSync { get; set; }
Property Value
LargeChannels
Enable large channels.
public FeatureSupport LargeChannels { get; set; }
Property Value
OptionAnchors
Enable zero fee anchor tx.
public FeatureSupport OptionAnchors { get; set; }
Property Value
OptionAttributionData
public FeatureSupport OptionAttributionData { get; set; }
Property Value
OptionChannelType
public FeatureSupport OptionChannelType { get; }
Property Value
OptionDataLossProtect
public FeatureSupport OptionDataLossProtect { get; }
Property Value
OptionOnionMessages
Enable onion messages.
public FeatureSupport OptionOnionMessages { get; set; }
Property Value
OptionProvideStorage
public FeatureSupport OptionProvideStorage { get; set; }
Property Value
OptionQuiesce
public FeatureSupport OptionQuiesce { get; set; }
Property Value
OptionRouteBlinding
Enable route blinding.
public FeatureSupport OptionRouteBlinding { get; set; }
Property Value
OptionSimpleClose
public FeatureSupport OptionSimpleClose { get; set; }
Property Value
OptionStaticRemoteKey
public FeatureSupport OptionStaticRemoteKey { get; }
Property Value
PaymentMetadata
Enable payment metadata.
public FeatureSupport PaymentMetadata { get; set; }
Property Value
PaymentSecret
public FeatureSupport PaymentSecret { get; }
Property Value
RemoteAddress
The remote address of the node.
public IPAddress? RemoteAddress { get; set; }
Property Value
Remarks
This is used to connect to our node.
ScidAlias
Enable scid alias.
public FeatureSupport ScidAlias { get; set; }
Property Value
UpfrontShutdownScript
Enable an upfront shutdown script.
public FeatureSupport UpfrontShutdownScript { get; set; }
Property Value
VarOnionOptIn
public FeatureSupport VarOnionOptIn { get; }
Property Value
ZeroConf
Enable zero conf.
public FeatureSupport ZeroConf { get; set; }
Property Value
Methods
GetNodeFeatures()
Get Features set for the node.
public FeatureSet GetNodeFeatures()
Returns
- FeatureSet
The features set for the node.
Remarks
All features set as Optional.
GetNodeOptions(FeatureSet, TlvStream?)
Get the node options from the features and extension.
public static FeatureOptions GetNodeOptions(FeatureSet featureSet, TlvStream? extension)
Parameters
featureSetFeatureSetThe features of the node.
extensionTlvStreamThe extension of the node.
Returns
- FeatureOptions
The node options.