Table of Contents

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

FeatureSupport

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.

ChannelType

Enable channel type.

public FeatureSupport ChannelType { get; set; }

Property Value

FeatureSupport

DataLossProtect

Enable data loss protection.

public FeatureSupport DataLossProtect { get; set; }

Property Value

FeatureSupport

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

OnionMessages

Enable onion messages.

public FeatureSupport OnionMessages { get; set; }

Property Value

FeatureSupport

PaymentMetadata

Enable payment metadata.

public FeatureSupport PaymentMetadata { get; set; }

Property Value

FeatureSupport

PaymentSecret

Enable payment secret.

public FeatureSupport PaymentSecret { get; set; }

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.

RouteBlinding

Enable route blinding.

public FeatureSupport RouteBlinding { get; set; }

Property Value

FeatureSupport

ScidAlias

Enable scid alias.

public FeatureSupport ScidAlias { get; set; }

Property Value

FeatureSupport

StaticRemoteKey

Enable static remote key.

public FeatureSupport StaticRemoteKey { get; set; }

Property Value

FeatureSupport

UpfrontShutdownScript

Enable upfront shutdown script.

public FeatureSupport UpfrontShutdownScript { get; set; }

Property Value

FeatureSupport

ZeroConf

Enable zero conf.

public FeatureSupport ZeroConf { get; set; }

Property Value

FeatureSupport

ZeroFeeAnchorTx

Enable zero fee anchor tx.

public FeatureSupport ZeroFeeAnchorTx { 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.