ShutdownTlv

sealed class ShutdownTlv : Tlv

Types

ChannelData
Link copied to clipboard
common
data class ChannelData(ecb: EncryptedChannelData) : ShutdownTlv

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

ShutdownTlv
Link copied to clipboard