DotNetLightning


DotNetLightning.Transactions Namespace

"DotNetLightning.Transactions" contains a types/functions to work with LN-specific transactions.

Type/Module Description

ClaimDelayedOutputTx

ClaimHTLCSuccessTx

ClaimHTLCTimeoutTx

ClaimP2WPKHOutputTx

ClosingTx

CommitmentSpec

CommitTx

FinalizedTx

Tx already verified and it can be published anytime

HTLCPenaltyTx

HTLCSuccessTx

HTLCTimeoutTx

IHTLCTx

ILightningTx

We define all possible txs here. internal representation is psbt. But this is just for convenience since in current spec we don't have to send PSBT with each other node in case of Lightning. NOTE: we are assuming ILightningTx will never have redeem_script as an input script. And we are also ignoring SigHash field in its input (always SigHash.All)

InputInfo

MainPenaltyTx

Scripts

Functions to work wth LN-specific bitcoin scripts.

SortableTxOut

TransactionError

Transactions

This module contains a functions to work with LN-specific transactions.