Revoked Commit Published
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())
Content copied to clipboard
Parameters
commit Tx
revoked commitment tx.
claim Main Output Tx
tx claiming our main output (if we have one).
main Penalty Tx
penalty tx claiming their main output (if they have one).
htlc Penalty Txs
penalty txs claiming every HTLC output.
claim Htlc Delayed Penalty Txs
penalty txs claiming the output of their HTLC txs (if they managed to get them confirmed before our htlcPenaltyTxs).
irrevocably Spent
map of relevant outpoints that have been spent and the confirmed transaction that spends them.