Class BaseHtlcOutput
- Namespace
- NLightning.Infrastructure.Bitcoin.Outputs
- Assembly
- NLightning.Infrastructure.Bitcoin.dll
public abstract class BaseHtlcOutput : BaseOutput, IOutput
- Inheritance
-
BaseHtlcOutput
- Implements
- Derived
- Inherited Members
Constructors
BaseHtlcOutput(LightningMoney, Script)
protected BaseHtlcOutput(LightningMoney amount, Script redeemScript)
Parameters
amount
LightningMoneyredeemScript
Script
BaseHtlcOutput(LightningMoney, ulong, PubKey, ReadOnlyMemory<byte>, Script, PubKey, PubKey)
protected BaseHtlcOutput(LightningMoney amount, ulong cltvExpiry, PubKey localHtlcPubKey, ReadOnlyMemory<byte> paymentHash, Script redeemScript, PubKey remoteHtlcPubKey, PubKey revocationPubKey)
Parameters
amount
LightningMoneycltvExpiry
ulonglocalHtlcPubKey
PubKeypaymentHash
ReadOnlyMemory<byte>redeemScript
ScriptremoteHtlcPubKey
PubKeyrevocationPubKey
PubKey
Properties
CltvExpiry
public required ulong CltvExpiry { get; init; }
Property Value
LocalHtlcPubKey
public required PubKey LocalHtlcPubKey { get; init; }
Property Value
- PubKey
PaymentHash
public ReadOnlyMemory<byte> PaymentHash { get; set; }
Property Value
RemoteHtlcPubKey
public required PubKey RemoteHtlcPubKey { get; init; }
Property Value
- PubKey
RevocationPubKey
public required PubKey RevocationPubKey { get; init; }
Property Value
- PubKey