public static interface LightningApi.ForwardingHistoryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getEndTime()
End time is the end point of the forwarding history request.
|
int |
getIndexOffset()
Index offset is the offset in the time series to start at.
|
int |
getNumMaxEvents()
The max number of events to return in the response to this query.
|
boolean |
getPeerAliasLookup()
Informs the server if the peer alias should be looked up for each
forwarding event.
|
long |
getStartTime()
Start time is the starting point of the forwarding history request.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getStartTime()
Start time is the starting point of the forwarding history request. All records beyond this point will be included, respecting the end time, and the index offset.
uint64 start_time = 1;
long getEndTime()
End time is the end point of the forwarding history request. The response will carry at most 50k records between the start time and the end time. The index offset can be used to implement pagination.
uint64 end_time = 2;
int getIndexOffset()
Index offset is the offset in the time series to start at. As each response can only contain 50k records, callers can use this to skip around within a packed time series.
uint32 index_offset = 3;
int getNumMaxEvents()
The max number of events to return in the response to this query.
uint32 num_max_events = 4;
boolean getPeerAliasLookup()
Informs the server if the peer alias should be looked up for each forwarding event.
bool peer_alias_lookup = 5;