LocalCommitPublished

fun LocalCommitPublished(commitTx: Transaction, claimMainDelayedOutputTx: Transactions.TransactionWithInputInfo.ClaimLocalDelayedOutputTx? = null, htlcTxs: Map<OutPoint, Transactions.TransactionWithInputInfo.HtlcTx?> = emptyMap(), claimHtlcDelayedTxs: List<Transactions.TransactionWithInputInfo.ClaimLocalDelayedOutputTx> = emptyList(), claimAnchorTxs: List<Transactions.TransactionWithInputInfo.ClaimAnchorOutputTx> = emptyList(), irrevocablySpent: Map<OutPoint, Transaction> = emptyMap())

Parameters

commitTx

commitment tx.

claimMainDelayedOutputTx

tx claiming our main output (if we have one).

htlcTxs

txs claiming HTLCs. There will be one entry for each pending HTLC. The value will be null only for incoming HTLCs for which we don't have the preimage (we can't claim them yet).

claimHtlcDelayedTxs

3rd-stage txs (spending the output of HTLC txs).

claimAnchorTxs

txs spending anchor outputs to bump the feerate of the commitment tx (if applicable).

irrevocablySpent

map of relevant outpoints that have been spent and the confirmed transaction that spends them.