Class ChannelConfigEntity
- Namespace
- NLightning.Infrastructure.Persistence.Entities.Channel
- Assembly
- NLightning.Infrastructure.Persistence.dll
Represents the configuration parameters for a Lightning Network channel.
public class ChannelConfigEntity
- Inheritance
-
ChannelConfigEntity
- Inherited Members
Properties
ChannelId
The unique channel identifier this configuration belongs to.
public required ChannelId ChannelId { get; set; }
Property Value
ChannelReserveAmountSats
The minimum amount that the counterparty must keep in its balance, if set.
public long? ChannelReserveAmountSats { get; set; }
Property Value
- long?
FeeRatePerKwSatoshis
The fee rate in satoshis per kiloweight to use for commitment transactions.
public required long FeeRatePerKwSatoshis { get; set; }
Property Value
HtlcMinimumMsat
The minimum value for an HTLC, expressed in millisatoshis.
public required ulong HtlcMinimumMsat { get; set; }
Property Value
LocalDustLimitAmountSats
The local minimum value for an output below which it should be considered dust and not included.
public required long LocalDustLimitAmountSats { get; set; }
Property Value
LocalUpfrontShutdownScript
The upfront shutdown script for the local node, if specified.
public byte[]? LocalUpfrontShutdownScript { get; set; }
Property Value
- byte[]
MaxAcceptedHtlcs
The maximum number of HTLCs that can be pending at any given time.
public required ushort MaxAcceptedHtlcs { get; set; }
Property Value
MaxHtlcAmountInFlight
The maximum total value of all HTLCs that can be in-flight at any given time.
public required ulong MaxHtlcAmountInFlight { get; set; }
Property Value
MinimumDepth
The minimum number of confirmations required for the funding transaction.
public required uint MinimumDepth { get; set; }
Property Value
OptionAnchorOutputs
Whether anchor outputs are enabled for this channel.
public required bool OptionAnchorOutputs { get; set; }
Property Value
RemoteDustLimitAmountSats
The remote minimum value for an output below which it should be considered dust and not included.
public required long RemoteDustLimitAmountSats { get; set; }
Property Value
RemoteUpfrontShutdownScript
The upfront shutdown script for the remote node, if specified.
public byte[]? RemoteUpfrontShutdownScript { get; set; }
Property Value
- byte[]
ToSelfDelay
The number of blocks that the counterparty's to-self outputs must be delayed.
public required ushort ToSelfDelay { get; set; }
Property Value
UseScidAlias
public byte UseScidAlias { get; set; }