Class NodeOptions
- Namespace
- NLightning.Bolts
- Assembly
- NLightning.Bolts.dll
Represents the options for a node.
public sealed class NodeOptions
- Inheritance
-
NodeOptions
- Inherited Members
Constructors
NodeOptions()
Initializes a new instance of the NodeOptions class.
public NodeOptions()
Remarks
The key pair is generated automatically.
NodeOptions(Key)
Initializes a new instance of the NodeOptions class.
public NodeOptions(Key p)
Parameters
p
KeyThe private key of the node.
Remarks
The key pair is generated from the private key.
Fields
ChainHashes
The chain hashes of the node.
public IEnumerable<ChainHash> ChainHashes
Field Value
Remarks
Initialized as Mainnet if not set.
EnableAnchorOutputs
Enable anchor outputs.
public bool EnableAnchorOutputs
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableBasicMpp
Enable basic MPP.
public bool EnableBasicMpp
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableBeyondSegwitShutdown
Enable beyond segwit shutdown.
public bool EnableBeyondSegwitShutdown
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableChannelType
Enable channel type.
public bool EnableChannelType
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableDataLossProtect
Enable data loss protection.
public bool EnableDataLossProtect
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableDualFund
Enable dual fund.
public bool EnableDualFund
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableExpandedGossipQueries
Enable expanded gossip queries.
public bool EnableExpandedGossipQueries
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableGossipQueries
Enable gossip queries.
public bool EnableGossipQueries
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableInitialRoutingSync
Enable initial routing sync.
public bool EnableInitialRoutingSync
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableLargeChannels
Enable large channels.
public bool EnableLargeChannels
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableOnionMessages
Enable onion messages.
public bool EnableOnionMessages
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnablePaymentMetadata
Enable payment metadata.
public bool EnablePaymentMetadata
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnablePaymentSecret
Enable payment secret.
public bool EnablePaymentSecret
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableRouteBlinding
Enable route blinding.
public bool EnableRouteBlinding
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableScidAlias
Enable scid alias.
public bool EnableScidAlias
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableStaticRemoteKey
Enable static remote key.
public bool EnableStaticRemoteKey
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableUpfrontShutdownScript
Enable upfront shutdown script.
public bool EnableUpfrontShutdownScript
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableZeroConf
Enable zero conf.
public bool EnableZeroConf
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
EnableZeroFeeAnchorTx
Enable zero fee anchor tx.
public bool EnableZeroFeeAnchorTx
Field Value
Remarks
This will be added to the features of the node as OPTIONAL.
NetworkTimeout
Global network timeout.
public TimeSpan NetworkTimeout
Field Value
Remarks
The global network timeout is used for all network operations.
RemoteAddress
The remote address of the node.
public IPAddress? RemoteAddress
Field Value
Remarks
This is used to connect to our node.