final case class HtlcEvent(incomingChannelId: Long = 0L, outgoingChannelId: Long = 0L, incomingHtlcId: Long = 0L, outgoingHtlcId: Long = 0L, timestampNs: Long = 0L, eventType: EventType = routerrpc.HtlcEvent.EventType.UNKNOWN, event: Event = routerrpc.HtlcEvent.Event.Empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[HtlcEvent] with Product with Serializable
HtlcEvent contains the htlc event that was processed. These are served on a best-effort basis; events are not persisted, delivery is not guaranteed (in the event of a crash in the switch, forward events may be lost) and some events may be replayed upon restart. Events consumed from this package should be de-duplicated by the htlc's unique combination of incoming and outgoing channel id and htlc id. [EXPERIMENTAL]
- incomingChannelId
The short channel id that the incoming htlc arrived at our node on. This value is zero for sends.
- outgoingChannelId
The short channel id that the outgoing htlc left our node on. This value is zero for receives.
- incomingHtlcId
Incoming id is the index of the incoming htlc in the incoming channel. This value is zero for sends.
- outgoingHtlcId
Outgoing id is the index of the outgoing htlc in the outgoing channel. This value is zero for receives.
- timestampNs
The time in unix nanoseconds that the event occurred.
- eventType
The event type indicates whether the htlc was part of a send, receive or forward.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- HtlcEvent
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HtlcEvent(incomingChannelId: Long = 0L, outgoingChannelId: Long = 0L, incomingHtlcId: Long = 0L, outgoingHtlcId: Long = 0L, timestampNs: Long = 0L, eventType: EventType = routerrpc.HtlcEvent.EventType.UNKNOWN, event: Event = routerrpc.HtlcEvent.Event.Empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- incomingChannelId
The short channel id that the incoming htlc arrived at our node on. This value is zero for sends.
- outgoingChannelId
The short channel id that the outgoing htlc left our node on. This value is zero for receives.
- incomingHtlcId
Incoming id is the index of the incoming htlc in the incoming channel. This value is zero for sends.
- outgoingHtlcId
Outgoing id is the index of the outgoing htlc in the outgoing channel. This value is zero for receives.
- timestampNs
The time in unix nanoseconds that the event occurred.
- eventType
The event type indicates whether the htlc was part of a send, receive or forward.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearEvent: HtlcEvent
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: HtlcEvent.type
- Definition Classes
- HtlcEvent → GeneratedMessage
- def discardUnknownFields: HtlcEvent
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val event: Event
- val eventType: EventType
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- HtlcEvent → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- HtlcEvent → GeneratedMessage
- def getFinalHtlcEvent: FinalHtlcEvent
- def getForwardEvent: ForwardEvent
- def getForwardFailEvent: ForwardFailEvent
- def getLinkFailEvent: LinkFailEvent
- def getSettleEvent: SettleEvent
- def getSubscribedEvent: SubscribedEvent
- val incomingChannelId: Long
- val incomingHtlcId: Long
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val outgoingChannelId: Long
- val outgoingHtlcId: Long
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- HtlcEvent → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timestampNs: Long
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- HtlcEvent → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[HtlcEvent, HtlcEvent]) => Mutation[HtlcEvent]*): HtlcEvent
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withEvent(__v: Event): HtlcEvent
- def withEventType(__v: EventType): HtlcEvent
- def withFinalHtlcEvent(__v: FinalHtlcEvent): HtlcEvent
- def withForwardEvent(__v: ForwardEvent): HtlcEvent
- def withForwardFailEvent(__v: ForwardFailEvent): HtlcEvent
- def withIncomingChannelId(__v: Long): HtlcEvent
- def withIncomingHtlcId(__v: Long): HtlcEvent
- def withLinkFailEvent(__v: LinkFailEvent): HtlcEvent
- def withOutgoingChannelId(__v: Long): HtlcEvent
- def withOutgoingHtlcId(__v: Long): HtlcEvent
- def withSettleEvent(__v: SettleEvent): HtlcEvent
- def withSubscribedEvent(__v: SubscribedEvent): HtlcEvent
- def withTimestampNs(__v: Long): HtlcEvent
- def withUnknownFields(__v: UnknownFieldSet): HtlcEvent
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- HtlcEvent → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage