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()
- Alphabetic
- By Inheritance
- HTLC
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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 amount: Long
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: HTLC.type
- Definition Classes
- HTLC → GeneratedMessage
- def discardUnknownFields: HTLC
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expirationHeight: Int
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val forwardingChannel: Long
- val forwardingHtlcIndex: Long
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- HTLC → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- HTLC → GeneratedMessage
- val hashLock: ByteString
- val htlcIndex: Long
- val incoming: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
def
serializedSize: Int
- Definition Classes
- HTLC → GeneratedMessage
-
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
- HTLC → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[HTLC, HTLC]) ⇒ Mutation[HTLC]*): HTLC
- 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 withAmount(__v: Long): HTLC
- def withExpirationHeight(__v: Int): HTLC
- def withForwardingChannel(__v: Long): HTLC
- def withForwardingHtlcIndex(__v: Long): HTLC
- def withHashLock(__v: ByteString): HTLC
- def withHtlcIndex(__v: Long): HTLC
- def withIncoming(__v: Boolean): HTLC
- def withUnknownFields(__v: UnknownFieldSet): HTLC
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- HTLC → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage