Table of Contents

Class TlvConstants

Namespace
NLightning.Common.Constants
Assembly
NLightning.Common.dll

Constants for TLV.

public static class TlvConstants
Inheritance
TlvConstants
Inherited Members

Fields

BLINDED_PATH

Blinded Path TLV Type

public static readonly BigSize BLINDED_PATH

Field Value

BigSize

Remarks

The "Blinded Path" is used in the UpdateAddHtlcMessage

CHANNEL_TYPE

Channel Type TLV Type

public static readonly BigSize CHANNEL_TYPE

Field Value

BigSize

Remarks

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

FEE_RANGE

Fee Range TLV Type

public static readonly BigSize FEE_RANGE

Field Value

BigSize

Remarks

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

FUNDING_OUTPUT_CONTRIBUTION

Funding output contribution TLV type.

public static readonly BigSize FUNDING_OUTPUT_CONTRIBUTION

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.

NEXT_FUNDING

Next Funding TLV Type

public static readonly BigSize NEXT_FUNDING

Field Value

BigSize

Remarks

The "Next Funding" is used in the ChannelReestablishMessage

REMOTE_ADDRESS

Remote address TLV type.

public static readonly BigSize REMOTE_ADDRESS

Field Value

BigSize

Remarks

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

REQUIRE_CONFIRMED_INPUTS

Require confirmed inputs TLV type.

public static readonly BigSize REQUIRE_CONFIRMED_INPUTS

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.

SHORT_CHANNEL_ID

Short Channel ID TLV Type

public static readonly BigSize SHORT_CHANNEL_ID

Field Value

BigSize

Remarks

The "Short Channel ID" is used in the ChannelReadyMessage

UPFRONT_SHUTDOWN_SCRIPT

Upfront Shutdown Script TLV Type

public static readonly BigSize UPFRONT_SHUTDOWN_SCRIPT

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