Negotiating

data class Negotiating(staticParams: StaticParams, currentTip: Pair<Int, BlockHeader>, currentOnChainFeerates: OnChainFeerates, commitments: Commitments, localShutdown: Shutdown, remoteShutdown: Shutdown, closingTxProposed: List<List<ClosingTxProposed>>, bestUnpublishedClosingTx: Transactions.TransactionWithInputInfo.ClosingTx?, 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

bestUnpublishedClosingTx
Link copied to clipboard
channelId
Link copied to clipboard
common
val channelId: ByteVector32
closingFeerates
Link copied to clipboard
common
val closingFeerates: ClosingFeerates?
closingTxProposed
Link copied to clipboard
common
val closingTxProposed: List<List<ClosingTxProposed>>
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
remoteShutdown
Link copied to clipboard
common
val remoteShutdown: Shutdown
staticParams
Link copied to clipboard
common
open override val staticParams: StaticParams