Closing

data class Closing(staticParams: StaticParams, currentTip: Pair<Int, BlockHeader>, currentOnChainFeerates: OnChainFeerates, commitments: Commitments, fundingTx: Transaction?, waitingSinceBlock: Long, mutualCloseProposed: List<Transactions.TransactionWithInputInfo.ClosingTx>, mutualClosePublished: List<Transactions.TransactionWithInputInfo.ClosingTx>, localCommitPublished: LocalCommitPublished?, remoteCommitPublished: RemoteCommitPublished?, nextRemoteCommitPublished: RemoteCommitPublished?, futureRemoteCommitPublished: RemoteCommitPublished?, revokedCommitPublished: List<RevokedCommitPublished>) : ChannelStateWithCommitments

Functions

closingTypeAlreadyKnown
Link copied to clipboard
common
fun closingTypeAlreadyKnown(): ClosingType?
handleFundingTimeout
Link copied to clipboard
common
handleLocalError
Link copied to clipboard
common
open override fun handleLocalError(event: ChannelEvent, t: Throwable): Pair<ChannelState, List<ChannelAction>>
handleRemoteError
Link copied to clipboard
common
fun handleRemoteError(e: Error): Pair<ChannelState, List<ChannelAction>>
process
Link copied to clipboard
common
fun process(event: ChannelEvent): Pair<ChannelState, List<ChannelAction>>
processInternal
Link copied to clipboard
common
open override fun processInternal(event: ChannelEvent): Pair<ChannelState, List<ChannelAction>>
updateCommitments
Link copied to clipboard
common
open override fun updateCommitments(input: Commitments): ChannelStateWithCommitments

Properties

channelId
Link copied to clipboard
common
val channelId: ByteVector32
commitments
Link copied to clipboard
common
open override val commitments: Commitments
currentBlockHeight
Link copied to clipboard
common
val currentBlockHeight: Int
currentOnChainFeerates
Link copied to clipboard
common
open override val currentOnChainFeerates: OnChainFeerates
currentTip
Link copied to clipboard
common
open override val currentTip: Pair<Int, BlockHeader>
fundingTx
Link copied to clipboard
common
val fundingTx: Transaction?
futureRemoteCommitPublished
Link copied to clipboard
common
val futureRemoteCommitPublished: RemoteCommitPublished? = null
isFunder
Link copied to clipboard
common
val isFunder: Boolean
keyManager
Link copied to clipboard
common
val keyManager: KeyManager
localCommitPublished
Link copied to clipboard
common
val localCommitPublished: LocalCommitPublished? = null
logger
Link copied to clipboard
common
val logger: Logger
mutualCloseProposed
Link copied to clipboard
mutualClosePublished
Link copied to clipboard
nextRemoteCommitPublished
Link copied to clipboard
common
val nextRemoteCommitPublished: RemoteCommitPublished? = null
privateKey
Link copied to clipboard
common
val privateKey: PrivateKey
remoteCommitPublished
Link copied to clipboard
common
val remoteCommitPublished: RemoteCommitPublished? = null
revokedCommitPublished
Link copied to clipboard
common
val revokedCommitPublished: List<RevokedCommitPublished>
staticParams
Link copied to clipboard
common
open override val staticParams: StaticParams
waitingSinceBlock
Link copied to clipboard
common
val waitingSinceBlock: Long