Commitments

data class Commitments(channelConfig: ChannelConfig, channelFeatures: ChannelFeatures, localParams: LocalParams, remoteParams: RemoteParams, channelFlags: Byte, localCommit: LocalCommit, remoteCommit: RemoteCommit, localChanges: LocalChanges, remoteChanges: RemoteChanges, localNextHtlcId: Long, remoteNextHtlcId: Long, payments: Map<Long, UUID>, remoteNextCommitInfo: Either<WaitingForRevocation, PublicKey>, commitInput: Transactions.InputInfo, remotePerCommitmentSecrets: ShaChain, channelId: ByteVector32, remoteChannelData: EncryptedChannelData)

Constructors

Commitments
Link copied to clipboard
common
fun Commitments(from: Commitments)

Functions

export
Link copied to clipboard
common
fun export(nodeParams: NodeParams): Commitments

Properties

channelConfig
Link copied to clipboard
common
val channelConfig: ChannelConfig
channelFeatures
Link copied to clipboard
common
val channelFeatures: ChannelFeatures
channelFlags
Link copied to clipboard
common
val channelFlags: Byte
channelId
Link copied to clipboard
common
val channelId: ByteVector32
commitInput
Link copied to clipboard
common
val commitInput: Transactions.InputInfo
localChanges
Link copied to clipboard
common
val localChanges: LocalChanges
localCommit
Link copied to clipboard
common
val localCommit: LocalCommit
localNextHtlcId
Link copied to clipboard
common
val localNextHtlcId: Long
localParams
Link copied to clipboard
common
val localParams: LocalParams
payments
Link copied to clipboard
common
val payments: Map<Long, UUID>
remoteChanges
Link copied to clipboard
common
val remoteChanges: RemoteChanges
remoteChannelData
Link copied to clipboard
common
val remoteChannelData: EncryptedChannelData
remoteCommit
Link copied to clipboard
common
val remoteCommit: RemoteCommit
remoteNextCommitInfo
Link copied to clipboard
common
val remoteNextCommitInfo: Either<WaitingForRevocation, PublicKey>
remoteNextHtlcId
Link copied to clipboard
common
val remoteNextHtlcId: Long
remoteParams
Link copied to clipboard
common
val remoteParams: RemoteParams
remotePerCommitmentSecrets
Link copied to clipboard
common
val remotePerCommitmentSecrets: ShaChain