ReplyPath

data class ReplyPath(blindedRoute: RouteBlinding.BlindedRoute) : OnionMessagePayloadTlv

Onion messages may provide a reply path, allowing the recipient to send a message back to the original sender. The reply path uses route blinding, which ensures that the sender doesn't leak its identity to the recipient.

Constructors

ReplyPath
Link copied to clipboard
common
fun ReplyPath(blindedRoute: RouteBlinding.BlindedRoute)

Types

Companion
Link copied to clipboard
common
object Companion : TlvValueReader<OnionMessagePayloadTlv.ReplyPath>

Functions

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

Properties

blindedRoute
Link copied to clipboard
common
val blindedRoute: RouteBlinding.BlindedRoute
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.