Closed

data class Closed(state: Closing) : ChannelStateWithCommitments

Channel is closed i.t its funding tx has been spent and the spending transactions have been confirmed, it can be forgotten

Constructors

Closed
Link copied to clipboard
common
fun Closed(state: Closing)

Functions

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>
isFunder
Link copied to clipboard
common
val isFunder: Boolean
keyManager
Link copied to clipboard
common
val keyManager: KeyManager
logger
Link copied to clipboard
common
val logger: Logger
privateKey
Link copied to clipboard
common
val privateKey: PrivateKey
state
Link copied to clipboard
common
val state: Closing
staticParams
Link copied to clipboard
common
open override val staticParams: StaticParams