Package org.ldk.structs
Class HTLCDestination.NextHopChannel
- java.lang.Object
-
- org.ldk.structs.HTLCDestination
-
- org.ldk.structs.HTLCDestination.NextHopChannel
-
- Enclosing class:
- HTLCDestination
public static final class HTLCDestination.NextHopChannel extends HTLCDestination
We tried forwarding to a channel but failed to do so. An example of such an instance is when there is insufficient capacity in our outbound channel.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.HTLCDestination
HTLCDestination.FailedPayment, HTLCDestination.InvalidForward, HTLCDestination.NextHopChannel, HTLCDestination.UnknownNextHop
-
-
Field Summary
Fields Modifier and Type Field Description byte[]
channel_id
The outgoing `channel_id` between us and the next node.byte[]
node_id
The `node_id` of the next node.
-
Method Summary
-
Methods inherited from class org.ldk.structs.HTLCDestination
clone, eq, equals, failed_payment, finalize, invalid_forward, next_hop_channel, unknown_next_hop, write
-
-
-
-
Field Detail
-
node_id
@Nullable public final byte[] node_id
The `node_id` of the next node. For backwards compatibility, this field is marked as optional, versions prior to 0.0.110 may not always be able to provide counterparty node information. Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None
-
channel_id
public final byte[] channel_id
The outgoing `channel_id` between us and the next node.
-
-