public static interface RouterOuterClass.ForwardHtlcInterceptRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsCustomRecords(long key)
Any custom records that were present in the payload.
|
int |
getAutoFailHeight()
The block height at which this htlc will be auto-failed to prevent the
channel from force-closing.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecords()
Deprecated.
|
int |
getCustomRecordsCount()
Any custom records that were present in the payload.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecordsMap()
Any custom records that were present in the payload.
|
com.google.protobuf.ByteString |
getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Any custom records that were present in the payload.
|
com.google.protobuf.ByteString |
getCustomRecordsOrThrow(long key)
Any custom records that were present in the payload.
|
long |
getIncomingAmountMsat()
The incoming htlc amount.
|
RouterOuterClass.CircuitKey |
getIncomingCircuitKey()
The key of this forwarded htlc.
|
RouterOuterClass.CircuitKeyOrBuilder |
getIncomingCircuitKeyOrBuilder()
The key of this forwarded htlc.
|
int |
getIncomingExpiry()
The incoming htlc expiry.
|
com.google.protobuf.ByteString |
getOnionBlob()
The onion blob for the next hop
|
long |
getOutgoingAmountMsat()
The outgoing htlc amount.
|
int |
getOutgoingExpiry()
The outgoing htlc expiry.
|
long |
getOutgoingRequestedChanId()
The requested outgoing channel id for this forwarded htlc.
|
com.google.protobuf.ByteString |
getPaymentHash()
The htlc payment hash.
|
boolean |
hasIncomingCircuitKey()
The key of this forwarded htlc.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasIncomingCircuitKey()
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;
RouterOuterClass.CircuitKey getIncomingCircuitKey()
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;
RouterOuterClass.CircuitKeyOrBuilder getIncomingCircuitKeyOrBuilder()
The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
.routerrpc.CircuitKey incoming_circuit_key = 1;
long getIncomingAmountMsat()
The incoming htlc amount.
uint64 incoming_amount_msat = 5;
int getIncomingExpiry()
The incoming htlc expiry.
uint32 incoming_expiry = 6;
com.google.protobuf.ByteString getPaymentHash()
The htlc payment hash. This value is not guaranteed to be unique per request.
bytes payment_hash = 2;
long getOutgoingRequestedChanId()
The requested outgoing channel id for this forwarded htlc. Because of non-strict forwarding, this isn't necessarily the channel over which the packet will be forwarded eventually. A different channel to the same peer may be selected as well.
uint64 outgoing_requested_chan_id = 7;
long getOutgoingAmountMsat()
The outgoing htlc amount.
uint64 outgoing_amount_msat = 3;
int getOutgoingExpiry()
The outgoing htlc expiry.
uint32 outgoing_expiry = 4;
int getCustomRecordsCount()
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;
boolean containsCustomRecords(long key)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;
@Deprecated java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecords()
getCustomRecordsMap()
instead.java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecordsMap()
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;
com.google.protobuf.ByteString getCustomRecordsOrDefault(long key, com.google.protobuf.ByteString defaultValue)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;
com.google.protobuf.ByteString getCustomRecordsOrThrow(long key)
Any custom records that were present in the payload.
map<uint64, bytes> custom_records = 8;
com.google.protobuf.ByteString getOnionBlob()
The onion blob for the next hop
bytes onion_blob = 9;
int getAutoFailHeight()
The block height at which this htlc will be auto-failed to prevent the channel from force-closing.
int32 auto_fail_height = 10;