ChannelState

sealed class ChannelState

Channel state.

Functions

handleLocalError
Link copied to clipboard
common
abstract 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
abstract fun processInternal(event: ChannelEvent): Pair<ChannelState, List<ChannelAction>>

Properties

currentBlockHeight
Link copied to clipboard
common
val currentBlockHeight: Int
currentOnChainFeerates
Link copied to clipboard
common
abstract val currentOnChainFeerates: OnChainFeerates
currentTip
Link copied to clipboard
common
abstract val currentTip: Pair<Int, BlockHeader>
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
staticParams
Link copied to clipboard
common
abstract val staticParams: StaticParams

Inheritors

Aborted
Link copied to clipboard
ChannelStateWithCommitments
Link copied to clipboard
Offline
Link copied to clipboard
Syncing
Link copied to clipboard
WaitForAcceptChannel
Link copied to clipboard
WaitForFundingCreated
Link copied to clipboard
WaitForFundingInternal
Link copied to clipboard
WaitForFundingSigned
Link copied to clipboard
WaitForInit
Link copied to clipboard
WaitForOpenChannel
Link copied to clipboard