public static interface RouterOuterClass.BuildRouteRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getAmtMsat()
The amount to send expressed in msat.
|
int |
getFinalCltvDelta()
CLTV delta from the current height that should be used for the timelock
of the final hop
|
com.google.protobuf.ByteString |
getHopPubkeys(int index)
A list of hops that defines the route.
|
int |
getHopPubkeysCount()
A list of hops that defines the route.
|
java.util.List<com.google.protobuf.ByteString> |
getHopPubkeysList()
A list of hops that defines the route.
|
long |
getOutgoingChanId()
The channel id of the channel that must be taken to the first hop.
|
com.google.protobuf.ByteString |
getPaymentAddr()
An optional payment addr to be included within the last hop of the route.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getAmtMsat()
The amount to send expressed in msat. If set to zero, the minimum routable amount is used.
int64 amt_msat = 1;
int getFinalCltvDelta()
CLTV delta from the current height that should be used for the timelock of the final hop
int32 final_cltv_delta = 2;
long getOutgoingChanId()
The channel id of the channel that must be taken to the first hop. If zero, any channel may be used.
uint64 outgoing_chan_id = 3 [jstype = JS_STRING];
java.util.List<com.google.protobuf.ByteString> getHopPubkeysList()
A list of hops that defines the route. This does not include the source hop pubkey.
repeated bytes hop_pubkeys = 4;
int getHopPubkeysCount()
A list of hops that defines the route. This does not include the source hop pubkey.
repeated bytes hop_pubkeys = 4;
com.google.protobuf.ByteString getHopPubkeys(int index)
A list of hops that defines the route. This does not include the source hop pubkey.
repeated bytes hop_pubkeys = 4;
index
- The index of the element to return.com.google.protobuf.ByteString getPaymentAddr()
An optional payment addr to be included within the last hop of the route.
bytes payment_addr = 5;