Class FeatureOptions
- Namespace
- NLightning.Domain.Node.Options
- Assembly
- NLightning.Domain.dll
public class FeatureOptions
- Inheritance
-
FeatureOptions
- Inherited Members
Properties
AnchorOutputs
Enable anchor outputs.
public FeatureSupport AnchorOutputs { get; set; }
Property Value
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.
ChannelType
Enable channel type.
public FeatureSupport ChannelType { get; set; }
Property Value
DataLossProtect
Enable data loss protection.
public FeatureSupport DataLossProtect { get; set; }
Property Value
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
OnionMessages
Enable onion messages.
public FeatureSupport OnionMessages { get; set; }
Property Value
PaymentMetadata
Enable payment metadata.
public FeatureSupport PaymentMetadata { get; set; }
Property Value
PaymentSecret
Enable payment secret.
public FeatureSupport PaymentSecret { get; set; }
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.
RouteBlinding
Enable route blinding.
public FeatureSupport RouteBlinding { get; set; }
Property Value
ScidAlias
Enable scid alias.
public FeatureSupport ScidAlias { get; set; }
Property Value
StaticRemoteKey
Enable static remote key.
public FeatureSupport StaticRemoteKey { get; set; }
Property Value
UpfrontShutdownScript
Enable upfront shutdown script.
public FeatureSupport UpfrontShutdownScript { get; set; }
Property Value
ZeroConf
Enable zero conf.
public FeatureSupport ZeroConf { get; set; }
Property Value
ZeroFeeAnchorTx
Enable zero fee anchor tx.
public FeatureSupport ZeroFeeAnchorTx { 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
featureSet
FeatureSetThe features of the node.
extension
TlvStreamThe extension of the node.
Returns
- FeatureOptions
The node options.