Uses of Class
org.ldk.structs.NetworkUpdate
-
Packages that use NetworkUpdate Package Description org.ldk.structs -
-
Uses of NetworkUpdate in org.ldk.structs
Subclasses of NetworkUpdate in org.ldk.structs Modifier and Type Class Description static class
NetworkUpdate.ChannelFailure
An error indicating that a channel failed to route a payment, which should be applied via [`NetworkGraph::channel_failed_permanent`] if permanent.static class
NetworkUpdate.ChannelUpdateMessage
An error indicating a `channel_update` messages should be applied via [`NetworkGraph::update_channel`].static class
NetworkUpdate.NodeFailure
An error indicating that a node failed to route a payment, which should be applied via [`NetworkGraph::node_failed_permanent`] if permanent.Fields in org.ldk.structs declared as NetworkUpdate Modifier and Type Field Description NetworkUpdate
Option_NetworkUpdateZ.Some. some
Methods in org.ldk.structs that return NetworkUpdate Modifier and Type Method Description static NetworkUpdate
NetworkUpdate. channel_failure(long short_channel_id, boolean is_permanent)
Utility method to constructs a new ChannelFailure-variant NetworkUpdatestatic NetworkUpdate
NetworkUpdate. channel_update_message(ChannelUpdate msg)
Utility method to constructs a new ChannelUpdateMessage-variant NetworkUpdateNetworkUpdate
NetworkUpdate. clone()
Creates a copy of the NetworkUpdatestatic NetworkUpdate
NetworkUpdate. node_failure(byte[] node_id, boolean is_permanent)
Utility method to constructs a new NodeFailure-variant NetworkUpdateMethods in org.ldk.structs with parameters of type NetworkUpdate Modifier and Type Method Description boolean
NetworkUpdate. eq(NetworkUpdate b)
Checks if two NetworkUpdates contain equal inner contents.void
NetworkGraph. handle_network_update(NetworkUpdate network_update)
Handles any network updates originating from [`Event`]s.static Option_NetworkUpdateZ
Option_NetworkUpdateZ. some(NetworkUpdate o)
Constructs a new COption_NetworkUpdateZ containing a crate::lightning::routing::gossip::NetworkUpdate
-