claimRemoteCommitTxOutputs

fun claimRemoteCommitTxOutputs(keyManager: KeyManager, commitments: Commitments, remoteCommit: RemoteCommit, tx: Transaction, feerates: OnChainFeerates): RemoteCommitPublished

Claim all the outputs that we've received from their current commit tx.

Return

a list of transactions (one per output that we can claim).

Parameters

commitments

our commitment data, which include payment preimages.

remoteCommit

the remote commitment data to use to claim outputs (it can be their current or next commitment).

tx

the remote commitment transaction that has just been published.