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
Properties
MaxFeeSatoshis
The maximum acceptable fee in satoshis
public ulong MaxFeeSatoshis { get; }
Property Value
MinFeeSatoshis
The minimum acceptable fee in satoshis
public ulong MinFeeSatoshis { get; }
Property Value
Methods
FromTlv(Tlv)
Cast FeeRangeTlv from a Tlv.
public static FeeRangeTlv FromTlv(Tlv tlv)
Parameters
tlv
TlvThe tlv to cast from.
Returns
- FeeRangeTlv
The cast FeeRangeTlv.
Exceptions
- InvalidCastException
Error casting FeeRangeTlv