public static interface LightningApi.HTLCOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getAmount()
int64 amount = 2; |
int |
getExpirationHeight()
uint32 expiration_height = 4; |
long |
getForwardingChannel()
If this HTLC is involved in a forwarding operation, this field indicates
the forwarding channel.
|
long |
getForwardingHtlcIndex()
Index identifying the htlc on the forwarding channel.
|
com.google.protobuf.ByteString |
getHashLock()
bytes hash_lock = 3; |
long |
getHtlcIndex()
Index identifying the htlc on the channel.
|
boolean |
getIncoming()
bool incoming = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean getIncoming()
bool incoming = 1;
long getAmount()
int64 amount = 2;
com.google.protobuf.ByteString getHashLock()
bytes hash_lock = 3;
int getExpirationHeight()
uint32 expiration_height = 4;
long getHtlcIndex()
Index identifying the htlc on the channel.
uint64 htlc_index = 5;
long 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.
uint64 forwarding_channel = 6;
long getForwardingHtlcIndex()
Index identifying the htlc on the forwarding channel.
uint64 forwarding_htlc_index = 7;