Table of Contents

Class ConfigManager

Namespace
NLightning.Common.Managers
Assembly
NLightning.Common.dll
public class ConfigManager
Inheritance
ConfigManager
Inherited Members

Properties

DustLimitSatoshis

DustLimitSatoshis is the threshold below which outputs should not be generated for this node's commitment or HTLC transactions (i.e. HTLCs below this amount plus HTLC transaction fees are not enforceable on-chain). This reflects the reality that tiny outputs are not considered standard transactions and will not propagate through the Bitcoin network.

public ulong DustLimitSatoshis { get; set; }

Property Value

ulong

HtlcMinimumMsat

HtlcMinimumMsat indicates the smallest value HTLC this node will accept.

public ulong HtlcMinimumMsat { get; set; }

Property Value

ulong

Instance

public static ConfigManager Instance { get; }

Property Value

ConfigManager

Locktime

Locktime is the default locktime for the funding transaction.

public uint Locktime { get; set; }

Property Value

uint

MaxAcceptedHtlcs

MaxAcceptedHtlcs limits the number of outstanding HTLCs the remote node can offer.

public ushort MaxAcceptedHtlcs { get; set; }

Property Value

ushort

MaxHtlcValueInFlightMsat

MaxHtlcValueInFlightMsat is a cap on total value of outstanding HTLCs offered by the remote node, which allows the local node to limit its exposure to HTLCs

public ulong MaxHtlcValueInFlightMsat { get; set; }

Property Value

ulong

MinimumDepth

minimum_depth is the number of blocks we consider reasonable to avoid double-spending of the funding transaction. In case channel_type includes option_zeroconf this MUST be 0

public uint MinimumDepth { get; set; }

Property Value

uint

Network

Network in which this node will be running

public Network Network { get; set; }

Property Value

Network

ToSelfDelay

ToSelfDelay is the number of blocks that the other node's to-self outputs must be delayed, using OP_CHECKSEQUENCEVERIFY delays; this is how long it will have to wait in case of breakdown before redeeming its own funds.

public ushort ToSelfDelay { get; set; }

Property Value

ushort