Table of Contents

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 LightningMoney
redeemScript 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 LightningMoney
cltvExpiry ulong
localHtlcPubKey PubKey
paymentHash ReadOnlyMemory<byte>
redeemScript Script
remoteHtlcPubKey PubKey
revocationPubKey PubKey

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