Normal

data class Normal(staticParams: StaticParams, currentTip: Pair<Int, BlockHeader>, currentOnChainFeerates: OnChainFeerates, commitments: Commitments, shortChannelId: ShortChannelId, buried: Boolean, channelAnnouncement: ChannelAnnouncement?, channelUpdate: ChannelUpdate, remoteChannelUpdate: ChannelUpdate?, localShutdown: Shutdown?, remoteShutdown: Shutdown?, closingFeerates: ClosingFeerates?) : ChannelStateWithCommitments

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

buried
Link copied to clipboard
common
val buried: Boolean
channelAnnouncement
Link copied to clipboard
common
val channelAnnouncement: ChannelAnnouncement?
channelId
Link copied to clipboard
common
val channelId: ByteVector32
channelUpdate
Link copied to clipboard
common
val channelUpdate: ChannelUpdate
closingFeerates
Link copied to clipboard
common
val closingFeerates: ClosingFeerates?
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
localShutdown
Link copied to clipboard
common
val localShutdown: Shutdown?
logger
Link copied to clipboard
common
val logger: Logger
privateKey
Link copied to clipboard
common
val privateKey: PrivateKey
remoteChannelUpdate
Link copied to clipboard
common
val remoteChannelUpdate: ChannelUpdate?
remoteShutdown
Link copied to clipboard
common
val remoteShutdown: Shutdown?
shortChannelId
Link copied to clipboard
common
val shortChannelId: ShortChannelId
staticParams
Link copied to clipboard
common
open override val staticParams: StaticParams