InitTlv

sealed class InitTlv : Tlv

Tlv types used inside Init messages.

Types

Networks
Link copied to clipboard
common
data class Networks(chainHashes: List<ByteVector32>) : InitTlv
PhoenixAndroidLegacyNodeId
Link copied to clipboard
common
data class PhoenixAndroidLegacyNodeId(legacyNodeId: PublicKey, signature: ByteVector64) : InitTlv

Functions

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

Properties

tag
Link copied to clipboard
common
abstract val tag: Long

TLV fields start with a tag that uniquely identifies the type of field within a specific namespace (usually a lightning message). See https://github.com/lightningnetwork/lightning-rfc/blob/master/01-messaging.md#type-length-value-format.

Inheritors

InitTlv
Link copied to clipboard
InitTlv
Link copied to clipboard