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()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HtlcEvent
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearEvent: HtlcEvent
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def companion: HtlcEvent.type
    Definition Classes
    HtlcEvent → GeneratedMessage
  8. def discardUnknownFields: HtlcEvent
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val event: Event
  11. val eventType: EventType
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    HtlcEvent → GeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    HtlcEvent → GeneratedMessage
  16. def getFinalHtlcEvent: FinalHtlcEvent
  17. def getForwardEvent: ForwardEvent
  18. def getForwardFailEvent: ForwardFailEvent
  19. def getLinkFailEvent: LinkFailEvent
  20. def getSettleEvent: SettleEvent
  21. def getSubscribedEvent: SubscribedEvent
  22. val incomingChannelId: Long
  23. val incomingHtlcId: Long
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. val outgoingChannelId: Long
  29. val outgoingHtlcId: Long
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def serializedSize: Int
    Definition Classes
    HtlcEvent → GeneratedMessage
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. val timestampNs: Long
  34. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  35. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  36. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  37. def toProtoString: String
    Definition Classes
    HtlcEvent → GeneratedMessage
  38. val unknownFields: UnknownFieldSet
  39. def update(ms: (Lens[HtlcEvent, HtlcEvent]) => Mutation[HtlcEvent]*): HtlcEvent
    Definition Classes
    Updatable
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. def withEvent(__v: Event): HtlcEvent
  44. def withEventType(__v: EventType): HtlcEvent
  45. def withFinalHtlcEvent(__v: FinalHtlcEvent): HtlcEvent
  46. def withForwardEvent(__v: ForwardEvent): HtlcEvent
  47. def withForwardFailEvent(__v: ForwardFailEvent): HtlcEvent
  48. def withIncomingChannelId(__v: Long): HtlcEvent
  49. def withIncomingHtlcId(__v: Long): HtlcEvent
  50. def withLinkFailEvent(__v: LinkFailEvent): HtlcEvent
  51. def withOutgoingChannelId(__v: Long): HtlcEvent
  52. def withOutgoingHtlcId(__v: Long): HtlcEvent
  53. def withSettleEvent(__v: SettleEvent): HtlcEvent
  54. def withSubscribedEvent(__v: SubscribedEvent): HtlcEvent
  55. def withTimestampNs(__v: Long): HtlcEvent
  56. def withUnknownFields(__v: UnknownFieldSet): HtlcEvent
  57. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  58. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    HtlcEvent → GeneratedMessage
  59. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[HtlcEvent]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped