Table of Contents

Class HtlcSuccessTransaction

Namespace
NLightning.Infrastructure.Bitcoin.Transactions
Assembly
NLightning.Infrastructure.Bitcoin.dll
public class HtlcSuccessTransaction : BaseHtlcTransaction
Inheritance
HtlcSuccessTransaction
Inherited Members

Constructors

HtlcSuccessTransaction(Network, bool, BaseHtlcOutput, PubKey, PubKey, ulong, ulong, byte[])

public HtlcSuccessTransaction(Network network, bool hasAnchorOutputs, BaseHtlcOutput output, PubKey revocationPubKey, PubKey localDelayedPubKey, ulong toSelfDelay, ulong amountMilliSats, byte[] paymentPreimage)

Parameters

network Network
hasAnchorOutputs bool
output BaseHtlcOutput
revocationPubKey PubKey
localDelayedPubKey PubKey
toSelfDelay ulong
amountMilliSats ulong
paymentPreimage byte[]

Properties

PaymentPreimage

public byte[] PaymentPreimage { get; }

Property Value

byte[]

Methods

SignTransaction(params BitcoinSecret[])

protected void SignTransaction(params BitcoinSecret[] secrets)

Parameters

secrets BitcoinSecret[]