OutgoingCltv

data class OutgoingCltv(cltv: CltvExpiry) : OnionPaymentPayloadTlv

CLTV value to use for the HTLC offered to the next node.

Constructors

OutgoingCltv
Link copied to clipboard
common
fun OutgoingCltv(cltv: CltvExpiry)

Types

Companion
Link copied to clipboard
common
object Companion : TlvValueReader<OnionPaymentPayloadTlv.OutgoingCltv>

Functions

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

Properties

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