Table of Contents

Class TlvConstants

Namespace
NLightning.Domain.Protocol.Constants
Assembly
NLightning.Domain.dll

Constants for TLV.

public static class TlvConstants
Inheritance
TlvConstants
Inherited Members

Fields

BlindedPath

Blinded Path TLV Type

public static readonly BigSize BlindedPath

Field Value

BigSize

Remarks

The "Blinded Path" is used in the UpdateAddHtlcMessage

ChannelType

Channel Type TLV Type

public static readonly BigSize ChannelType

Field Value

BigSize

Remarks

The "Channel Type" is used in the OpenChannel2Message to set the channel type being oppened

FeeRange

Fee Range TLV Type

public static readonly BigSize FeeRange

Field Value

BigSize

Remarks

The "Fee Range" is used in the ClosingSignedMessage to set the acceptable fee range

FundingOutputContribution

Funding output contribution TLV type.

public static readonly BigSize FundingOutputContribution

Field Value

BigSize

Remarks

The funding output contribution TLV type is used in the TxInitRbfMessage to communicate the funding output contribution in satoshis.

Networks

Networks TLV type.

public static readonly BigSize Networks

Field Value

BigSize

Remarks

The networks TLV type is used in the InitMessage to communicate the networks that the node supports.

NextFunding

Next Funding TLV Type

public static readonly BigSize NextFunding

Field Value

BigSize

Remarks

The "Next Funding" is used in the ChannelReestablishMessage

RemoteAddress

Remote address TLV type.

public static readonly BigSize RemoteAddress

Field Value

BigSize

Remarks

The remote address TLV type is used in the InitMessage to communicate the remote address of the node.

RequireConfirmedInputs

Require confirmed inputs TLV type.

public static readonly BigSize RequireConfirmedInputs

Field Value

BigSize

Remarks

The "Require Confirmed Inputs" TLV type is used in the TxInitRbfMessage and OpenChannel2Message to communicate if the node requires confirmed inputs.

ShortChannelId

Short Channel ID TLV Type

public static readonly BigSize ShortChannelId

Field Value

BigSize

Remarks

The "Short Channel ID" is used in the ChannelReadyMessage

UpfrontShutdownScript

Upfront Shutdown Script TLV Type

public static readonly BigSize UpfrontShutdownScript

Field Value

BigSize

Remarks

The "Upfront Shutdown Script" is used in the OpenChannel2Message to set where the funds should be sent on a mutual close