Package org.ldk.structs
Class NetworkUpdate.NodeFailure
- java.lang.Object
-
- org.ldk.structs.NetworkUpdate
-
- org.ldk.structs.NetworkUpdate.NodeFailure
-
- Enclosing class:
- NetworkUpdate
public static final class NetworkUpdate.NodeFailure extends NetworkUpdate
An error indicating that a node failed to route a payment, which should be applied via [`NetworkGraph::node_failed_permanent`] if permanent.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.NetworkUpdate
NetworkUpdate.ChannelFailure, NetworkUpdate.ChannelUpdateMessage, NetworkUpdate.NodeFailure
-
-
Field Summary
Fields Modifier and Type Field Description boolean
is_permanent
Whether the node should be permanently removed from consideration or can be restored when a new `channel_update` message is received.byte[]
node_id
The node id of the failed node.
-
Method Summary
-
Methods inherited from class org.ldk.structs.NetworkUpdate
channel_failure, channel_update_message, clone, eq, equals, finalize, node_failure, write
-
-