FundingSigned

data class FundingSigned(channelId: ByteVector32, signature: ByteVector64, tlvStream: TlvStream<FundingSignedTlv>) : ChannelMessage, HasChannelId, HasEncryptedChannelData

Types

Companion
Link copied to clipboard
common
object Companion : LightningMessageReader<FundingSigned>

Functions

withChannelData
Link copied to clipboard
common
open fun withChannelData(data: ByteVector): HasEncryptedChannelData
open fun withChannelData(ecd: EncryptedChannelData): HasEncryptedChannelData
withNonEmptyChannelData
Link copied to clipboard
common
open override fun withNonEmptyChannelData(ecd: EncryptedChannelData): FundingSigned
write
Link copied to clipboard
common
open fun write(): ByteArray
open override fun write(out: Output)

Properties

channelData
Link copied to clipboard
common
open override val channelData: EncryptedChannelData
channelId
Link copied to clipboard
common
open override val channelId: ByteVector32
signature
Link copied to clipboard
common
val signature: ByteVector64
tlvStream
Link copied to clipboard
common
val tlvStream: TlvStream<FundingSignedTlv>
type
Link copied to clipboard
common
open override val type: Long

Once decrypted, lightning messages start with a 2-byte type that uniquely identifies the kind of message received. See https://github.com/lightningnetwork/lightning-rfc/blob/master/01-messaging.md#lightning-message-format.