InvoiceRoutingInfo

data class InvoiceRoutingInfo(extraHops: List<List<PaymentRequest.TaggedField.ExtraHop>>) : OnionPaymentPayloadTlv

Invoice routing hints. Only included for intermediate trampoline nodes when they should convert to a legacy payment because the final recipient doesn't support trampoline.

Constructors

InvoiceRoutingInfo
Link copied to clipboard
common
fun InvoiceRoutingInfo(extraHops: List<List<PaymentRequest.TaggedField.ExtraHop>>)

Types

Companion
Link copied to clipboard
common

Functions

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

Properties

extraHops
Link copied to clipboard
common
val extraHops: List<List<PaymentRequest.TaggedField.ExtraHop>>
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.