Table of Contents

Class BaseHtlcOutput

Namespace
NLightning.Bolts.BOLT3.Outputs
Assembly
NLightning.Bolts.dll
public abstract class BaseHtlcOutput : BaseOutput
Inheritance
BaseHtlcOutput
Derived
Inherited Members

Constructors

BaseHtlcOutput(Script, LightningMoney)

protected BaseHtlcOutput(Script redeemScript, LightningMoney amount)

Parameters

redeemScript Script
amount LightningMoney

BaseHtlcOutput(Script, LightningMoney, PubKey, PubKey, PubKey, ReadOnlyMemory<byte>, ulong)

protected BaseHtlcOutput(Script redeemScript, LightningMoney amount, PubKey revocationPubKey, PubKey remoteHtlcPubKey, PubKey localHtlcPubKey, ReadOnlyMemory<byte> paymentHash, ulong cltvExpiry)

Parameters

redeemScript Script
amount LightningMoney
revocationPubKey PubKey
remoteHtlcPubKey PubKey
localHtlcPubKey PubKey
paymentHash ReadOnlyMemory<byte>
cltvExpiry ulong

Properties

CltvExpiry

public required ulong CltvExpiry { get; init; }

Property Value

ulong

LocalHtlcPubKey

public required PubKey LocalHtlcPubKey { get; init; }

Property Value

PubKey

PaymentHash

public ReadOnlyMemory<byte> PaymentHash { get; set; }

Property Value

ReadOnlyMemory<byte>

RemoteHtlcPubKey

public required PubKey RemoteHtlcPubKey { get; init; }

Property Value

PubKey

RevocationPubKey

public required PubKey RevocationPubKey { get; init; }

Property Value

PubKey