public static interface LightningApi.InvoiceHTLCOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsCustomRecords(long key)
Custom tlv records.
|
int |
getAcceptHeight()
Block height at which this htlc was accepted.
|
long |
getAcceptTime()
Time at which this htlc was accepted.
|
LightningApi.AMP |
getAmp()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
|
LightningApi.AMPOrBuilder |
getAmpOrBuilder()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
|
long |
getAmtMsat()
The amount of the htlc in msat.
|
long |
getChanId()
Short channel id over which the htlc was received.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecords()
Deprecated.
|
int |
getCustomRecordsCount()
Custom tlv records.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecordsMap()
Custom tlv records.
|
com.google.protobuf.ByteString |
getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Custom tlv records.
|
com.google.protobuf.ByteString |
getCustomRecordsOrThrow(long key)
Custom tlv records.
|
int |
getExpiryHeight()
Block height at which this htlc expires.
|
long |
getHtlcIndex()
Index identifying the htlc on the channel.
|
long |
getMppTotalAmtMsat()
The total amount of the mpp payment in msat.
|
long |
getResolveTime()
Time at which this htlc was settled or canceled.
|
LightningApi.InvoiceHTLCState |
getState()
Current state the htlc is in.
|
int |
getStateValue()
Current state the htlc is in.
|
boolean |
hasAmp()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getChanId()
Short channel id over which the htlc was received.
uint64 chan_id = 1 [jstype = JS_STRING];
long getHtlcIndex()
Index identifying the htlc on the channel.
uint64 htlc_index = 2;
long getAmtMsat()
The amount of the htlc in msat.
uint64 amt_msat = 3;
int getAcceptHeight()
Block height at which this htlc was accepted.
int32 accept_height = 4;
long getAcceptTime()
Time at which this htlc was accepted.
int64 accept_time = 5;
long getResolveTime()
Time at which this htlc was settled or canceled.
int64 resolve_time = 6;
int getExpiryHeight()
Block height at which this htlc expires.
int32 expiry_height = 7;
int getStateValue()
Current state the htlc is in.
.lnrpc.InvoiceHTLCState state = 8;
LightningApi.InvoiceHTLCState getState()
Current state the htlc is in.
.lnrpc.InvoiceHTLCState state = 8;
int getCustomRecordsCount()
Custom tlv records.
map<uint64, bytes> custom_records = 9;
boolean containsCustomRecords(long key)
Custom tlv records.
map<uint64, bytes> custom_records = 9;
@Deprecated java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecords()
getCustomRecordsMap()
instead.java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecordsMap()
Custom tlv records.
map<uint64, bytes> custom_records = 9;
com.google.protobuf.ByteString getCustomRecordsOrDefault(long key, com.google.protobuf.ByteString defaultValue)
Custom tlv records.
map<uint64, bytes> custom_records = 9;
com.google.protobuf.ByteString getCustomRecordsOrThrow(long key)
Custom tlv records.
map<uint64, bytes> custom_records = 9;
long getMppTotalAmtMsat()
The total amount of the mpp payment in msat.
uint64 mpp_total_amt_msat = 10;
boolean hasAmp()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
.lnrpc.AMP amp = 11;
LightningApi.AMP getAmp()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
.lnrpc.AMP amp = 11;
LightningApi.AMPOrBuilder getAmpOrBuilder()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
.lnrpc.AMP amp = 11;