Packages

final case class InvoiceHTLC(chanId: Long = 0L, htlcIndex: Long = 0L, amtMsat: Long = 0L, acceptHeight: Int = 0, acceptTime: Long = 0L, resolveTime: Long = 0L, expiryHeight: Int = 0, state: InvoiceHTLCState = lnrpc.InvoiceHTLCState.ACCEPTED, customRecords: Map[Long, ByteString] = ..., mppTotalAmtMsat: Long = 0L, amp: Option[AMP] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[InvoiceHTLC] with Product with Serializable

Details of an HTLC that paid to an invoice

chanId

Short channel id over which the htlc was received.

htlcIndex

Index identifying the htlc on the channel.

amtMsat

The amount of the htlc in msat.

acceptHeight

Block height at which this htlc was accepted.

acceptTime

Time at which this htlc was accepted.

resolveTime

Time at which this htlc was settled or canceled.

expiryHeight

Block height at which this htlc expires.

state

Current state the htlc is in.

customRecords

Custom tlv records.

mppTotalAmtMsat

The total amount of the mpp payment in msat.

amp

Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.

Annotations
@SerialVersionUID()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InvoiceHTLC
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InvoiceHTLC(chanId: Long = 0L, htlcIndex: Long = 0L, amtMsat: Long = 0L, acceptHeight: Int = 0, acceptTime: Long = 0L, resolveTime: Long = 0L, expiryHeight: Int = 0, state: InvoiceHTLCState = lnrpc.InvoiceHTLCState.ACCEPTED, customRecords: Map[Long, ByteString] = ..., mppTotalAmtMsat: Long = 0L, amp: Option[AMP] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)

    chanId

    Short channel id over which the htlc was received.

    htlcIndex

    Index identifying the htlc on the channel.

    amtMsat

    The amount of the htlc in msat.

    acceptHeight

    Block height at which this htlc was accepted.

    acceptTime

    Time at which this htlc was accepted.

    resolveTime

    Time at which this htlc was settled or canceled.

    expiryHeight

    Block height at which this htlc expires.

    state

    Current state the htlc is in.

    customRecords

    Custom tlv records.

    mppTotalAmtMsat

    The total amount of the mpp payment in msat.

    amp

    Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.

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. val acceptHeight: Int
  5. val acceptTime: Long
  6. def addAllCustomRecords(__vs: Iterable[(Long, ByteString)]): InvoiceHTLC
  7. def addCustomRecords(__vs: (Long, ByteString)*): InvoiceHTLC
  8. val amp: Option[AMP]
  9. val amtMsat: Long
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. val chanId: Long
  12. def clearAmp: InvoiceHTLC
  13. def clearCustomRecords: InvoiceHTLC
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  15. def companion: InvoiceHTLC.type
    Definition Classes
    InvoiceHTLC → GeneratedMessage
  16. val customRecords: Map[Long, ByteString]
  17. def discardUnknownFields: InvoiceHTLC
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val expiryHeight: Int
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def getAmp: AMP
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    InvoiceHTLC → GeneratedMessage
  24. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    InvoiceHTLC → GeneratedMessage
  25. val htlcIndex: Long
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val mppTotalAmtMsat: Long
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val resolveTime: Long
  32. def serializedSize: Int
    Definition Classes
    InvoiceHTLC → GeneratedMessage
  33. val state: InvoiceHTLCState
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  36. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  37. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  38. def toProtoString: String
    Definition Classes
    InvoiceHTLC → GeneratedMessage
  39. val unknownFields: UnknownFieldSet
  40. def update(ms: (Lens[InvoiceHTLC, InvoiceHTLC]) ⇒ Mutation[InvoiceHTLC]*): InvoiceHTLC
    Definition Classes
    Updatable
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  44. def withAcceptHeight(__v: Int): InvoiceHTLC
  45. def withAcceptTime(__v: Long): InvoiceHTLC
  46. def withAmp(__v: AMP): InvoiceHTLC
  47. def withAmtMsat(__v: Long): InvoiceHTLC
  48. def withChanId(__v: Long): InvoiceHTLC
  49. def withCustomRecords(__v: Map[Long, ByteString]): InvoiceHTLC
  50. def withExpiryHeight(__v: Int): InvoiceHTLC
  51. def withHtlcIndex(__v: Long): InvoiceHTLC
  52. def withMppTotalAmtMsat(__v: Long): InvoiceHTLC
  53. def withResolveTime(__v: Long): InvoiceHTLC
  54. def withState(__v: InvoiceHTLCState): InvoiceHTLC
  55. def withUnknownFields(__v: UnknownFieldSet): InvoiceHTLC
  56. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  57. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    InvoiceHTLC → GeneratedMessage
  58. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[InvoiceHTLC]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped