Table of Contents

Class FeeRangeTlv

Namespace
NLightning.Common.TLVs
Assembly
NLightning.Common.dll

Fee Range TLV.

public class FeeRangeTlv : Tlv, IEquatable<Tlv>
Inheritance
FeeRangeTlv
Implements
Inherited Members

Remarks

The fee range TLV is used in the ClosingSignedMessage to set our accepted fee range.

Constructors

FeeRangeTlv(ulong, ulong)

public FeeRangeTlv(ulong minFeeSatoshis, ulong maxFeeSatoshis)

Parameters

minFeeSatoshis ulong
maxFeeSatoshis ulong

Properties

MaxFeeSatoshis

The maximum acceptable fee in satoshis

public ulong MaxFeeSatoshis { get; }

Property Value

ulong

MinFeeSatoshis

The minimum acceptable fee in satoshis

public ulong MinFeeSatoshis { get; }

Property Value

ulong

Methods

FromTlv(Tlv)

Cast FeeRangeTlv from a Tlv.

public static FeeRangeTlv FromTlv(Tlv tlv)

Parameters

tlv Tlv

The tlv to cast from.

Returns

FeeRangeTlv

The cast FeeRangeTlv.

Exceptions

InvalidCastException

Error casting FeeRangeTlv