Class HtlcOutputInfo
- Namespace
- NLightning.Domain.Bitcoin.Transactions.Outputs
- Assembly
- NLightning.Domain.dll
Base class for HTLC output information.
public abstract class HtlcOutputInfo : IOutputInfo
- Inheritance
-
HtlcOutputInfo
- Implements
- Derived
- Inherited Members
Constructors
HtlcOutputInfo(Htlc, CompactPubKey, CompactPubKey, CompactPubKey, bool)
Creates a new instance of HtlcOutputInfo.
protected HtlcOutputInfo(Htlc htlc, CompactPubKey localHtlcPubKey, CompactPubKey remoteHtlcPubKey, CompactPubKey revocationPubKey, bool isOffered)
Parameters
htlcHtlclocalHtlcPubKeyCompactPubKeyremoteHtlcPubKeyCompactPubKeyrevocationPubKeyCompactPubKeyisOfferedbool
Properties
Amount
Gets the amount of the output.
public LightningMoney Amount { get; }
Property Value
CltvExpiry
Gets the CLTV expiry for this HTLC.
public uint CltvExpiry { get; }
Property Value
Htlc
Gets the HTLC this output is based on.
public Htlc Htlc { get; }
Property Value
Index
Gets or sets the index of the output in the transaction once it's created.
public ushort? Index { get; set; }
Property Value
LocalHtlcPubKey
Gets the local HTLC public key.
public CompactPubKey LocalHtlcPubKey { get; }
Property Value
OutputType
Gets the type of the output.
public OutputType OutputType { get; }
Property Value
PaymentHash
Gets the payment hash for this HTLC.
public Hash PaymentHash { get; }
Property Value
RemoteHtlcPubKey
Gets the remote HTLC public key.
public CompactPubKey RemoteHtlcPubKey { get; }
Property Value
RevocationPubKey
Gets the revocation public key.
public CompactPubKey RevocationPubKey { get; }
Property Value
TransactionId
Gets or sets the transaction ID of the output once it's created.
public TxId? TransactionId { get; set; }
Property Value
- TxId?