public static interface LightningApi.HopOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getAmtToForward()
Deprecated.
|
long |
getAmtToForwardMsat()
int64 amt_to_forward_msat = 6[json_name = "amt_to_forward_msat"]; |
long |
getChanCapacity()
int64 chan_capacity = 2[json_name = "chan_capacity"]; |
long |
getChanId()
The unique channel ID for the channel.
|
int |
getExpiry()
uint32 expiry = 5[json_name = "expiry"]; |
long |
getFee()
Deprecated.
|
long |
getFeeMsat()
int64 fee_msat = 7[json_name = "fee_msat"]; |
java.lang.String |
getPubKey()
An optional public key of the hop.
|
com.google.protobuf.ByteString |
getPubKeyBytes()
An optional public key of the hop.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getChanId()
The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.
uint64 chan_id = 1[json_name = "chan_id"];
long getChanCapacity()
int64 chan_capacity = 2[json_name = "chan_capacity"];
@Deprecated long getAmtToForward()
int64 amt_to_forward = 3[json_name = "amt_to_forward", deprecated = true];
@Deprecated long getFee()
int64 fee = 4[json_name = "fee", deprecated = true];
int getExpiry()
uint32 expiry = 5[json_name = "expiry"];
long getAmtToForwardMsat()
int64 amt_to_forward_msat = 6[json_name = "amt_to_forward_msat"];
long getFeeMsat()
int64 fee_msat = 7[json_name = "fee_msat"];
java.lang.String getPubKey()
An optional public key of the hop. If the public key is given, the payment can be executed without relying on a copy of the channel graph.
string pub_key = 8[json_name = "pub_key"];
com.google.protobuf.ByteString getPubKeyBytes()
An optional public key of the hop. If the public key is given, the payment can be executed without relying on a copy of the channel graph.
string pub_key = 8[json_name = "pub_key"];