Packages

final case class HTLC(incoming: Boolean = false, amount: Long = 0L, hashLock: ByteString = ..., expirationHeight: Int = 0, htlcIndex: Long = 0L, forwardingChannel: Long = 0L, forwardingHtlcIndex: Long = 0L, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[HTLC] with Product with Serializable

htlcIndex

Index identifying the htlc on the channel.

forwardingChannel

If this HTLC is involved in a forwarding operation, this field indicates the forwarding channel. For an outgoing htlc, it is the incoming channel. For an incoming htlc, it is the outgoing channel. When the htlc originates from this node or this node is the final destination, forwarding_channel will be zero. The forwarding channel will also be zero for htlcs that need to be forwarded but don't have a forwarding decision persisted yet.

forwardingHtlcIndex

Index identifying the htlc on the forwarding channel.

Annotations
@SerialVersionUID()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HTLC
  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 HTLC(incoming: Boolean = false, amount: Long = 0L, hashLock: ByteString = ..., expirationHeight: Int = 0, htlcIndex: Long = 0L, forwardingChannel: Long = 0L, forwardingHtlcIndex: Long = 0L, unknownFields: UnknownFieldSet = ...)

    htlcIndex

    Index identifying the htlc on the channel.

    forwardingChannel

    If this HTLC is involved in a forwarding operation, this field indicates the forwarding channel. For an outgoing htlc, it is the incoming channel. For an incoming htlc, it is the outgoing channel. When the htlc originates from this node or this node is the final destination, forwarding_channel will be zero. The forwarding channel will also be zero for htlcs that need to be forwarded but don't have a forwarding decision persisted yet.

    forwardingHtlcIndex

    Index identifying the htlc on the forwarding channel.

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 amount: Long
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def companion: HTLC.type
    Definition Classes
    HTLC → GeneratedMessage
  8. def discardUnknownFields: HTLC
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val expirationHeight: Int
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val forwardingChannel: Long
  13. val forwardingHtlcIndex: Long
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    HTLC → GeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    HTLC → GeneratedMessage
  17. val hashLock: ByteString
  18. val htlcIndex: Long
  19. val incoming: Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def serializedSize: Int
    Definition Classes
    HTLC → GeneratedMessage
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  27. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  28. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  29. def toProtoString: String
    Definition Classes
    HTLC → GeneratedMessage
  30. val unknownFields: UnknownFieldSet
  31. def update(ms: (Lens[HTLC, HTLC]) ⇒ Mutation[HTLC]*): HTLC
    Definition Classes
    Updatable
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. def withAmount(__v: Long): HTLC
  36. def withExpirationHeight(__v: Int): HTLC
  37. def withForwardingChannel(__v: Long): HTLC
  38. def withForwardingHtlcIndex(__v: Long): HTLC
  39. def withHashLock(__v: ByteString): HTLC
  40. def withHtlcIndex(__v: Long): HTLC
  41. def withIncoming(__v: Boolean): HTLC
  42. def withUnknownFields(__v: UnknownFieldSet): HTLC
  43. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  44. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    HTLC → GeneratedMessage
  45. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[HTLC]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped