Uses of Class
org.ldk.structs.ChannelUpdate
-
Packages that use ChannelUpdate Package Description org.ldk.structs -
-
Uses of ChannelUpdate in org.ldk.structs
Fields in org.ldk.structs declared as ChannelUpdate Modifier and Type Field Description ChannelUpdateHTLCFailChannelUpdate.ChannelUpdateMessage. msgThe unwrapped message we receivedChannelUpdateMessageSendEvent.BroadcastChannelUpdate. msgThe channel_update which should be sent.ChannelUpdateMessageSendEvent.SendChannelUpdate. msgThe channel_update which should be sent.ChannelUpdateResult_ChannelUpdateDecodeErrorZ.Result_ChannelUpdateDecodeErrorZ_OK. resChannelUpdateMessageSendEvent.BroadcastChannelAnnouncement. update_msgThe followup channel_update which should be sent.Methods in org.ldk.structs that return ChannelUpdate Modifier and Type Method Description ChannelUpdateChannelUpdate. clone()Creates a copy of the ChannelUpdateChannelUpdateDirectionalChannelInfo. get_last_update_message()Most recent update for the channel received from the network Mostly redundant with the data we store in fields explicitly.static ChannelUpdateChannelUpdate. of(byte[] signature_arg, UnsignedChannelUpdate contents_arg)Constructs a new ChannelUpdate given each fieldMethods in org.ldk.structs that return types with arguments of type ChannelUpdate Modifier and Type Method Description ThreeTuple<ChannelAnnouncement,ChannelUpdate,ChannelUpdate>[]RoutingMessageHandler. get_next_channel_announcements(long starting_point, byte batch_amount)Gets a subset of the channel announcements and updates required to dump our routing table to a remote node, starting at the short_channel_id indicated by starting_point and including the batch_amount entries immediately higher in numerical value than starting_point.ThreeTuple<ChannelAnnouncement,ChannelUpdate,ChannelUpdate>[]RoutingMessageHandler. get_next_channel_announcements(long starting_point, byte batch_amount)Gets a subset of the channel announcements and updates required to dump our routing table to a remote node, starting at the short_channel_id indicated by starting_point and including the batch_amount entries immediately higher in numerical value than starting_point.ThreeTuple<ChannelAnnouncement,ChannelUpdate,ChannelUpdate>[]RoutingMessageHandler.RoutingMessageHandlerInterface. get_next_channel_announcements(long starting_point, byte batch_amount)Gets a subset of the channel announcements and updates required to dump our routing table to a remote node, starting at the short_channel_id indicated by starting_point and including the batch_amount entries immediately higher in numerical value than starting_point.ThreeTuple<ChannelAnnouncement,ChannelUpdate,ChannelUpdate>[]RoutingMessageHandler.RoutingMessageHandlerInterface. get_next_channel_announcements(long starting_point, byte batch_amount)Gets a subset of the channel announcements and updates required to dump our routing table to a remote node, starting at the short_channel_id indicated by starting_point and including the batch_amount entries immediately higher in numerical value than starting_point.Methods in org.ldk.structs with parameters of type ChannelUpdate Modifier and Type Method Description static MessageSendEventMessageSendEvent. broadcast_channel_announcement(ChannelAnnouncement msg, ChannelUpdate update_msg)Utility method to constructs a new BroadcastChannelAnnouncement-variant MessageSendEventstatic MessageSendEventMessageSendEvent. broadcast_channel_update(ChannelUpdate msg)Utility method to constructs a new BroadcastChannelUpdate-variant MessageSendEventstatic HTLCFailChannelUpdateHTLCFailChannelUpdate. channel_update_message(ChannelUpdate msg)Utility method to constructs a new ChannelUpdateMessage-variant HTLCFailChannelUpdatevoidChannelMessageHandler.ChannelMessageHandlerInterface. handle_channel_update(byte[] their_node_id, ChannelUpdate msg)Handle an incoming channel update from the given peer.voidChannelMessageHandler. handle_channel_update(byte[] their_node_id, ChannelUpdate msg)Handle an incoming channel update from the given peer.Result_boolLightningErrorZRoutingMessageHandler. handle_channel_update(ChannelUpdate msg)Handle an incoming channel_update message, returning true if it should be forwarded on, false or returning an Err otherwise.Result_boolLightningErrorZRoutingMessageHandler.RoutingMessageHandlerInterface. handle_channel_update(ChannelUpdate msg)Handle an incoming channel_update message, returning true if it should be forwarded on, false or returning an Err otherwise.static DirectionalChannelInfoDirectionalChannelInfo. of(int last_update_arg, boolean enabled_arg, short cltv_expiry_delta_arg, long htlc_minimum_msat_arg, Option_u64Z htlc_maximum_msat_arg, RoutingFees fees_arg, ChannelUpdate last_update_message_arg)Constructs a new DirectionalChannelInfo given each fieldstatic Result_ChannelUpdateDecodeErrorZResult_ChannelUpdateDecodeErrorZ. ok(ChannelUpdate o)Creates a new CResult_ChannelUpdateDecodeErrorZ in the success state.static MessageSendEventMessageSendEvent. send_channel_update(byte[] node_id, ChannelUpdate msg)Utility method to constructs a new SendChannelUpdate-variant MessageSendEventvoidDirectionalChannelInfo. set_last_update_message(ChannelUpdate val)Most recent update for the channel received from the network Mostly redundant with the data we store in fields explicitly.Result_NoneLightningErrorZNetworkGraph. update_channel(ChannelUpdate msg)For an already known (from announcement) channel, update info about one of the directions of the channel.
-