final case class HtlcEvent(incomingChannelId: UInt64 = routerrpc.HtlcEvent._typemapper_incomingChannelId.toCustom(0L), outgoingChannelId: UInt64 = routerrpc.HtlcEvent._typemapper_outgoingChannelId.toCustom(0L), incomingHtlcId: UInt64 = routerrpc.HtlcEvent._typemapper_incomingHtlcId.toCustom(0L), outgoingHtlcId: UInt64 = routerrpc.HtlcEvent._typemapper_outgoingHtlcId.toCustom(0L), timestampNs: UInt64 = routerrpc.HtlcEvent._typemapper_timestampNs.toCustom(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: UInt64 = routerrpc.HtlcEvent._typemapper_incomingChannelId.toCustom(0L), outgoingChannelId: UInt64 = routerrpc.HtlcEvent._typemapper_outgoingChannelId.toCustom(0L), incomingHtlcId: UInt64 = routerrpc.HtlcEvent._typemapper_incomingHtlcId.toCustom(0L), outgoingHtlcId: UInt64 = routerrpc.HtlcEvent._typemapper_outgoingHtlcId.toCustom(0L), timestampNs: UInt64 = routerrpc.HtlcEvent._typemapper_timestampNs.toCustom(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 getForwardEvent: ForwardEvent
  17. def getForwardFailEvent: ForwardFailEvent
  18. def getLinkFailEvent: LinkFailEvent
  19. def getSettleEvent: SettleEvent
  20. val incomingChannelId: UInt64
  21. val incomingHtlcId: UInt64
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. val outgoingChannelId: UInt64
  27. val outgoingHtlcId: UInt64
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  29. def serializedSize: Int
    Definition Classes
    HtlcEvent → GeneratedMessage
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. val timestampNs: UInt64
  32. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  33. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  34. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  35. def toProtoString: String
    Definition Classes
    HtlcEvent → GeneratedMessage
  36. val unknownFields: UnknownFieldSet
  37. def update(ms: (Lens[HtlcEvent, HtlcEvent]) => Mutation[HtlcEvent]*): HtlcEvent
    Definition Classes
    Updatable
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. def withEvent(__v: Event): HtlcEvent
  42. def withEventType(__v: EventType): HtlcEvent
  43. def withForwardEvent(__v: ForwardEvent): HtlcEvent
  44. def withForwardFailEvent(__v: ForwardFailEvent): HtlcEvent
  45. def withIncomingChannelId(__v: UInt64): HtlcEvent
  46. def withIncomingHtlcId(__v: UInt64): HtlcEvent
  47. def withLinkFailEvent(__v: LinkFailEvent): HtlcEvent
  48. def withOutgoingChannelId(__v: UInt64): HtlcEvent
  49. def withOutgoingHtlcId(__v: UInt64): HtlcEvent
  50. def withSettleEvent(__v: SettleEvent): HtlcEvent
  51. def withTimestampNs(__v: UInt64): HtlcEvent
  52. def withUnknownFields(__v: UnknownFieldSet): HtlcEvent
  53. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  54. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    HtlcEvent → GeneratedMessage
  55. 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