AnnouncementSignatures

data class AnnouncementSignatures(channelId: ByteVector32, shortChannelId: ShortChannelId, nodeSignature: ByteVector64, bitcoinSignature: ByteVector64) : RoutingMessage, HasChannelId

Types

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

Functions

write
Link copied to clipboard
common
open fun write(): ByteArray
open override fun write(out: Output)

Properties

bitcoinSignature
Link copied to clipboard
common
val bitcoinSignature: ByteVector64
channelId
Link copied to clipboard
common
open override val channelId: ByteVector32
nodeSignature
Link copied to clipboard
common
val nodeSignature: ByteVector64
shortChannelId
Link copied to clipboard
common
val shortChannelId: ShortChannelId
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.