public static interface LightningApi.RouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
LightningApi.Hop |
getHops(int index)
Contains details concerning the specific forwarding details at each hop.
|
int |
getHopsCount()
Contains details concerning the specific forwarding details at each hop.
|
java.util.List<LightningApi.Hop> |
getHopsList()
Contains details concerning the specific forwarding details at each hop.
|
LightningApi.HopOrBuilder |
getHopsOrBuilder(int index)
Contains details concerning the specific forwarding details at each hop.
|
java.util.List<? extends LightningApi.HopOrBuilder> |
getHopsOrBuilderList()
Contains details concerning the specific forwarding details at each hop.
|
long |
getTotalAmt()
Deprecated.
lnrpc.Route.total_amt is deprecated.
See lightning.api.proto;l=3179
|
long |
getTotalAmtMsat()
The total amount in millisatoshis.
|
long |
getTotalFees()
Deprecated.
lnrpc.Route.total_fees is deprecated.
See lightning.api.proto;l=3170
|
long |
getTotalFeesMsat()
The total fees in millisatoshis.
|
int |
getTotalTimeLock()
The cumulative (final) time lock across the entire route.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getTotalTimeLock()
The cumulative (final) time lock across the entire route. This is the CLTV value that should be extended to the first hop in the route. All other hops will decrement the time-lock as advertised, leaving enough time for all hops to wait for or present the payment preimage to complete the payment.
uint32 total_time_lock = 1;
@Deprecated long getTotalFees()
The sum of the fees paid at each hop within the final route. In the case of a one-hop payment, this value will be zero as we don't need to pay a fee to ourselves.
int64 total_fees = 2 [deprecated = true];
@Deprecated long getTotalAmt()
The total amount of funds required to complete a payment over this route. This value includes the cumulative fees at each hop. As a result, the HTLC extended to the first-hop in the route will need to have at least this many satoshis, otherwise the route will fail at an intermediate node due to an insufficient amount of fees.
int64 total_amt = 3 [deprecated = true];
java.util.List<LightningApi.Hop> getHopsList()
Contains details concerning the specific forwarding details at each hop.
repeated .lnrpc.Hop hops = 4;
LightningApi.Hop getHops(int index)
Contains details concerning the specific forwarding details at each hop.
repeated .lnrpc.Hop hops = 4;
int getHopsCount()
Contains details concerning the specific forwarding details at each hop.
repeated .lnrpc.Hop hops = 4;
java.util.List<? extends LightningApi.HopOrBuilder> getHopsOrBuilderList()
Contains details concerning the specific forwarding details at each hop.
repeated .lnrpc.Hop hops = 4;
LightningApi.HopOrBuilder getHopsOrBuilder(int index)
Contains details concerning the specific forwarding details at each hop.
repeated .lnrpc.Hop hops = 4;
long getTotalFeesMsat()
The total fees in millisatoshis.
int64 total_fees_msat = 5;
long getTotalAmtMsat()
The total amount in millisatoshis.
int64 total_amt_msat = 6;