RevokedCommitPublished

fun RevokedCommitPublished(commitTx: Transaction, remotePerCommitmentSecret: PrivateKey, claimMainOutputTx: Transactions.TransactionWithInputInfo.ClaimRemoteCommitMainOutputTx? = null, mainPenaltyTx: Transactions.TransactionWithInputInfo.MainPenaltyTx? = null, htlcPenaltyTxs: List<Transactions.TransactionWithInputInfo.HtlcPenaltyTx> = emptyList(), claimHtlcDelayedPenaltyTxs: List<Transactions.TransactionWithInputInfo.ClaimHtlcDelayedOutputPenaltyTx> = emptyList(), irrevocablySpent: Map<OutPoint, Transaction> = emptyMap())

Parameters

commitTx

revoked commitment tx.

claimMainOutputTx

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

mainPenaltyTx

penalty tx claiming their main output (if they have one).

htlcPenaltyTxs

penalty txs claiming every HTLC output.

claimHtlcDelayedPenaltyTxs

penalty txs claiming the output of their HTLC txs (if they managed to get them confirmed before our htlcPenaltyTxs).

irrevocablySpent

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