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 ChannelUpdate
MessageSendEvent.BroadcastChannelUpdate. msg
The channel_update which should be sent.ChannelUpdate
MessageSendEvent.SendChannelUpdate. msg
The channel_update which should be sent.ChannelUpdate
NetworkUpdate.ChannelUpdateMessage. msg
The update to apply via [`NetworkGraph::update_channel`].ChannelUpdate
Result_ChannelUpdateDecodeErrorZ.Result_ChannelUpdateDecodeErrorZ_OK. res
ChannelUpdate
MessageSendEvent.BroadcastChannelAnnouncement. update_msg
The followup channel_update which should be sent.Methods in org.ldk.structs that return ChannelUpdate Modifier and Type Method Description ChannelUpdate
ChannelUpdate. clone()
Creates a copy of the ChannelUpdateChannelUpdate
DirectionalChannelInfo. 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 ChannelUpdate
ChannelUpdate. 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 MessageSendEvent
MessageSendEvent. broadcast_channel_announcement(ChannelAnnouncement msg, ChannelUpdate update_msg)
Utility method to constructs a new BroadcastChannelAnnouncement-variant MessageSendEventstatic MessageSendEvent
MessageSendEvent. broadcast_channel_update(ChannelUpdate msg)
Utility method to constructs a new BroadcastChannelUpdate-variant MessageSendEventstatic NetworkUpdate
NetworkUpdate. channel_update_message(ChannelUpdate msg)
Utility method to constructs a new ChannelUpdateMessage-variant NetworkUpdatevoid
ChannelMessageHandler.ChannelMessageHandlerInterface. handle_channel_update(byte[] their_node_id, ChannelUpdate msg)
Handle an incoming channel update from the given peer.void
ChannelMessageHandler. handle_channel_update(byte[] their_node_id, ChannelUpdate msg)
Handle an incoming channel update from the given peer.Result_boolLightningErrorZ
RoutingMessageHandler. 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_boolLightningErrorZ
RoutingMessageHandler.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 DirectionalChannelInfo
DirectionalChannelInfo. 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_ChannelUpdateDecodeErrorZ
Result_ChannelUpdateDecodeErrorZ. ok(ChannelUpdate o)
Creates a new CResult_ChannelUpdateDecodeErrorZ in the success state.static MessageSendEvent
MessageSendEvent. send_channel_update(byte[] node_id, ChannelUpdate msg)
Utility method to constructs a new SendChannelUpdate-variant MessageSendEventvoid
DirectionalChannelInfo. 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_NoneLightningErrorZ
NetworkGraph. update_channel(ChannelUpdate msg)
For an already known (from announcement) channel, update info about one of the directions of the channel.
-