Class FundingOutputContributionTlv
- Namespace
- NLightning.Common.TLVs
- Assembly
- NLightning.Common.dll
Funding Output Contribution TLV.
public class FundingOutputContributionTlv : Tlv, IEquatable<Tlv>
- Inheritance
-
FundingOutputContributionTlv
- Implements
- Inherited Members
Remarks
The funding output contribution TLV is used in the TxInitRbfMessage to communicate the funding output contribution in satoshis.
Constructors
FundingOutputContributionTlv(long)
public FundingOutputContributionTlv(long satoshis)
Parameters
satoshis
long
Properties
Satoshis
The amount being contributed in satoshis
public long Satoshis { get; }
Property Value
Methods
FromTlv(Tlv)
Deserialize a NetworksTLV from a stream.
public static FundingOutputContributionTlv FromTlv(Tlv tlv)
Parameters
tlv
TlvThe stream to deserialize from.
Returns
- FundingOutputContributionTlv
The deserialized NetworksTLV.
Exceptions
- SerializationException
Error deserializing NetworksTLV