Package net.osslabz.lnd.dto
Class LnrpcHTLC
java.lang.Object
net.osslabz.lnd.dto.LnrpcHTLC
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcHTLC
extends Object
LnrpcHTLC
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpirationHeight(Long expirationHeight) forwardingChannel(String forwardingChannel) forwardingHtlcIndex(String forwardingHtlcIndex) Get amountGet expirationHeightIf this HTLC is involved in a forwarding operation, this field indicates the forwarding channel.Index identifying the htlc on the forwarding channel.byte[]Get hashLockIndex identifying the htlc on the channel.Get incominginthashCode()hashLock(byte[] hashLock) voidvoidsetExpirationHeight(Long expirationHeight) voidsetForwardingChannel(String forwardingChannel) voidsetForwardingHtlcIndex(String forwardingHtlcIndex) voidsetHashLock(byte[] hashLock) voidsetHtlcIndex(String htlcIndex) voidsetIncoming(Boolean incoming) toString()
-
Field Details
-
SERIALIZED_NAME_INCOMING
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_HASH_LOCK
- See Also:
-
SERIALIZED_NAME_EXPIRATION_HEIGHT
- See Also:
-
SERIALIZED_NAME_HTLC_INDEX
- See Also:
-
SERIALIZED_NAME_FORWARDING_CHANNEL
- See Also:
-
SERIALIZED_NAME_FORWARDING_HTLC_INDEX
- See Also:
-
-
Constructor Details
-
LnrpcHTLC
public LnrpcHTLC()
-
-
Method Details
-
incoming
-
getIncoming
Get incoming- Returns:
- incoming
-
setIncoming
-
amount
-
getAmount
Get amount- Returns:
- amount
-
setAmount
-
hashLock
-
getHashLock
@Nullable public byte[] getHashLock()Get hashLock- Returns:
- hashLock
-
setHashLock
public void setHashLock(byte[] hashLock) -
expirationHeight
-
getExpirationHeight
Get expirationHeight- Returns:
- expirationHeight
-
setExpirationHeight
-
htlcIndex
-
getHtlcIndex
Index identifying the htlc on the channel.- Returns:
- htlcIndex
-
setHtlcIndex
-
forwardingChannel
-
getForwardingChannel
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.- Returns:
- forwardingChannel
-
setForwardingChannel
-
forwardingHtlcIndex
-
getForwardingHtlcIndex
Index identifying the htlc on the forwarding channel.- Returns:
- forwardingHtlcIndex
-
setForwardingHtlcIndex
-
equals
-
hashCode
public int hashCode() -
toString
-