Table of Contents

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

FeatureSupport

BeyondSegwitShutdown

Enable beyond segwit shutdown.

public FeatureSupport BeyondSegwitShutdown { get; set; }

Property Value

FeatureSupport

ChainHashes

The chain hashes of the node.

public IEnumerable<ChainHash> ChainHashes { get; set; }

Property Value

IEnumerable<ChainHash>

Remarks

Initialized as Mainnet if not set.

DualFund

Enable dual fund.

public FeatureSupport DualFund { get; set; }

Property Value

FeatureSupport

ExpandedGossipQueries

Enable expanded gossip queries.

public FeatureSupport ExpandedGossipQueries { get; set; }

Property Value

FeatureSupport

GossipQueries

Enable gossip queries.

public FeatureSupport GossipQueries { get; set; }

Property Value

FeatureSupport

InitialRoutingSync

Enable initial routing sync.

public FeatureSupport InitialRoutingSync { get; set; }

Property Value

FeatureSupport

LargeChannels

Enable large channels.

public FeatureSupport LargeChannels { get; set; }

Property Value

FeatureSupport

OptionAnchors

Enable zero fee anchor tx.

public FeatureSupport OptionAnchors { get; set; }

Property Value

FeatureSupport

OptionAttributionData

public FeatureSupport OptionAttributionData { get; set; }

Property Value

FeatureSupport

OptionChannelType

public FeatureSupport OptionChannelType { get; }

Property Value

FeatureSupport

OptionDataLossProtect

public FeatureSupport OptionDataLossProtect { get; }

Property Value

FeatureSupport

OptionOnionMessages

Enable onion messages.

public FeatureSupport OptionOnionMessages { get; set; }

Property Value

FeatureSupport

OptionProvideStorage

public FeatureSupport OptionProvideStorage { get; set; }

Property Value

FeatureSupport

OptionQuiesce

public FeatureSupport OptionQuiesce { get; set; }

Property Value

FeatureSupport

OptionRouteBlinding

Enable route blinding.

public FeatureSupport OptionRouteBlinding { get; set; }

Property Value

FeatureSupport

OptionSimpleClose

public FeatureSupport OptionSimpleClose { get; set; }

Property Value

FeatureSupport

OptionStaticRemoteKey

public FeatureSupport OptionStaticRemoteKey { get; }

Property Value

FeatureSupport

PaymentMetadata

Enable payment metadata.

public FeatureSupport PaymentMetadata { get; set; }

Property Value

FeatureSupport

PaymentSecret

public FeatureSupport PaymentSecret { get; }

Property Value

FeatureSupport

RemoteAddress

The remote address of the node.

public IPAddress? RemoteAddress { get; set; }

Property Value

IPAddress

Remarks

This is used to connect to our node.

ScidAlias

Enable scid alias.

public FeatureSupport ScidAlias { get; set; }

Property Value

FeatureSupport

UpfrontShutdownScript

Enable an upfront shutdown script.

public FeatureSupport UpfrontShutdownScript { get; set; }

Property Value

FeatureSupport

VarOnionOptIn

public FeatureSupport VarOnionOptIn { get; }

Property Value

FeatureSupport

ZeroConf

Enable zero conf.

public FeatureSupport ZeroConf { get; set; }

Property Value

FeatureSupport

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 FeatureSet

The features of the node.

extension TlvStream

The extension of the node.

Returns

FeatureOptions

The node options.