OutgoingChannelId

data class OutgoingChannelId(shortChannelId: ShortChannelId) : OnionPaymentPayloadTlv

Id of the channel to use to forward a payment to the next node.

Constructors

OutgoingChannelId
Link copied to clipboard
common
fun OutgoingChannelId(shortChannelId: ShortChannelId)

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

shortChannelId
Link copied to clipboard
common
val shortChannelId: ShortChannelId
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.