Padding

data class Padding(dummy: ByteVector) : RouteBlindingEncryptedDataTlv

Some padding can be added to ensure all payloads are the same size to improve privacy.

Constructors

Padding
Link copied to clipboard
common
fun Padding(dummy: ByteVector)

Types

Companion
Link copied to clipboard
common
object Companion : TlvValueReader<RouteBlindingEncryptedDataTlv.Padding>

Functions

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

Properties

dummy
Link copied to clipboard
common
val dummy: ByteVector
tag
Link copied to clipboard
common
open override 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.