RemoteCommit

data class RemoteCommit(index: Long, spec: CommitmentSpec, txid: ByteVector32, remotePerCommitmentPoint: PublicKey)

Properties

index
Link copied to clipboard
common
val index: Long
remotePerCommitmentPoint
Link copied to clipboard
common
val remotePerCommitmentPoint: PublicKey
spec
Link copied to clipboard
common
val spec: CommitmentSpec
txid
Link copied to clipboard
common
val txid: ByteVector32

Extensions

timedOutHtlcs
Link copied to clipboard
common
fun RemoteCommit.timedOutHtlcs(remoteCommitPublished: RemoteCommitPublished, remoteDustLimit: Satoshi, tx: Transaction): Set<UpdateAddHtlc>

In CLOSING state, when we are notified that a transaction has been confirmed, we analyze it to find out if one or more htlcs have timed out and need to be failed in an upstream channel.