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()
- Alphabetic
- By Inheritance
- InvoiceHTLC
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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
- val acceptHeight: Int
- val acceptTime: Long
- def addAllCustomRecords(__vs: Iterable[(Long, ByteString)]): InvoiceHTLC
- def addCustomRecords(__vs: (Long, ByteString)*): InvoiceHTLC
- val amp: Option[AMP]
- val amtMsat: Long
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val chanId: Long
- def clearAmp: InvoiceHTLC
- def clearCustomRecords: InvoiceHTLC
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: InvoiceHTLC.type
- Definition Classes
- InvoiceHTLC → GeneratedMessage
- val customRecords: Map[Long, ByteString]
- def discardUnknownFields: InvoiceHTLC
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expiryHeight: Int
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAmp: AMP
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- InvoiceHTLC → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- InvoiceHTLC → GeneratedMessage
- val htlcIndex: Long
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mppTotalAmtMsat: Long
-
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 resolveTime: Long
-
def
serializedSize: Int
- Definition Classes
- InvoiceHTLC → GeneratedMessage
- val state: InvoiceHTLCState
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- InvoiceHTLC → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[InvoiceHTLC, InvoiceHTLC]) ⇒ Mutation[InvoiceHTLC]*): InvoiceHTLC
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAcceptHeight(__v: Int): InvoiceHTLC
- def withAcceptTime(__v: Long): InvoiceHTLC
- def withAmp(__v: AMP): InvoiceHTLC
- def withAmtMsat(__v: Long): InvoiceHTLC
- def withChanId(__v: Long): InvoiceHTLC
- def withCustomRecords(__v: Map[Long, ByteString]): InvoiceHTLC
- def withExpiryHeight(__v: Int): InvoiceHTLC
- def withHtlcIndex(__v: Long): InvoiceHTLC
- def withMppTotalAmtMsat(__v: Long): InvoiceHTLC
- def withResolveTime(__v: Long): InvoiceHTLC
- def withState(__v: InvoiceHTLCState): InvoiceHTLC
- def withUnknownFields(__v: UnknownFieldSet): InvoiceHTLC
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- InvoiceHTLC → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage