public static interface LightningApi.HTLCAttemptOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getAttemptId()
The unique ID that is used for this attempt.
|
long |
getAttemptTimeNs()
The time in UNIX nanoseconds at which this HTLC was sent.
|
LightningApi.Failure |
getFailure()
Detailed htlc failure info.
|
LightningApi.FailureOrBuilder |
getFailureOrBuilder()
Detailed htlc failure info.
|
com.google.protobuf.ByteString |
getPreimage()
The preimage that was used to settle the HTLC.
|
long |
getResolveTimeNs()
The time in UNIX nanoseconds at which this HTLC was settled or failed.
|
LightningApi.Route |
getRoute()
The route taken by this HTLC.
|
LightningApi.RouteOrBuilder |
getRouteOrBuilder()
The route taken by this HTLC.
|
LightningApi.HTLCAttempt.HTLCStatus |
getStatus()
The status of the HTLC.
|
int |
getStatusValue()
The status of the HTLC.
|
boolean |
hasFailure()
Detailed htlc failure info.
|
boolean |
hasRoute()
The route taken by this HTLC.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getAttemptId()
The unique ID that is used for this attempt.
uint64 attempt_id = 7;
int getStatusValue()
The status of the HTLC.
.lnrpc.HTLCAttempt.HTLCStatus status = 1;
LightningApi.HTLCAttempt.HTLCStatus getStatus()
The status of the HTLC.
.lnrpc.HTLCAttempt.HTLCStatus status = 1;
boolean hasRoute()
The route taken by this HTLC.
.lnrpc.Route route = 2;
LightningApi.Route getRoute()
The route taken by this HTLC.
.lnrpc.Route route = 2;
LightningApi.RouteOrBuilder getRouteOrBuilder()
The route taken by this HTLC.
.lnrpc.Route route = 2;
long getAttemptTimeNs()
The time in UNIX nanoseconds at which this HTLC was sent.
int64 attempt_time_ns = 3;
long getResolveTimeNs()
The time in UNIX nanoseconds at which this HTLC was settled or failed. This value will not be set if the HTLC is still IN_FLIGHT.
int64 resolve_time_ns = 4;
boolean hasFailure()
Detailed htlc failure info.
.lnrpc.Failure failure = 5;
LightningApi.Failure getFailure()
Detailed htlc failure info.
.lnrpc.Failure failure = 5;
LightningApi.FailureOrBuilder getFailureOrBuilder()
Detailed htlc failure info.
.lnrpc.Failure failure = 5;
com.google.protobuf.ByteString getPreimage()
The preimage that was used to settle the HTLC.
bytes preimage = 6;