Local Commit Published
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())
Content copied to clipboard
Parameters
commit Tx
commitment tx.
claim Main Delayed Output Tx
tx claiming our main output (if we have one).
htlc Txs
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).
claim Htlc Delayed Txs
3rd-stage txs (spending the output of HTLC txs).
claim Anchor Txs
txs spending anchor outputs to bump the feerate of the commitment tx (if applicable).
irrevocably Spent
map of relevant outpoints that have been spent and the confirmed transaction that spends them.