Syncing

data class Syncing(state: ChannelStateWithCommitments, waitForTheirReestablishMessage: Boolean) : ChannelState

waitForTheirReestablishMessage == true means that we want to wait until we've received their channel_reestablish message before we send ours (for example, to extract encrypted backup data from extra fields) waitForTheirReestablishMessage == false means that we've already sent our channel_reestablish message

Constructors

Syncing
Link copied to clipboard
common
fun Syncing(state: ChannelStateWithCommitments, waitForTheirReestablishMessage: Boolean)

Functions

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>>

Properties

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>
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: ChannelStateWithCommitments
staticParams
Link copied to clipboard
common
open override val staticParams: StaticParams
waitForTheirReestablishMessage
Link copied to clipboard
common
val waitForTheirReestablishMessage: Boolean