Uses of Class
org.ldk.structs.ChannelAnnouncement
-
Packages that use ChannelAnnouncement Package Description org.ldk.structs -
-
Uses of ChannelAnnouncement in org.ldk.structs
Fields in org.ldk.structs declared as ChannelAnnouncement Modifier and Type Field Description ChannelAnnouncement
MessageSendEvent.BroadcastChannelAnnouncement. msg
The channel_announcement which should be sent.ChannelAnnouncement
Result_ChannelAnnouncementDecodeErrorZ.Result_ChannelAnnouncementDecodeErrorZ_OK. res
Methods in org.ldk.structs that return ChannelAnnouncement Modifier and Type Method Description ChannelAnnouncement
ChannelAnnouncement. clone()
Creates a copy of the ChannelAnnouncementChannelAnnouncement
ChannelInfo. get_announcement_message()
An initial announcement of the channel Mostly redundant with the data we store in fields explicitly.static ChannelAnnouncement
ChannelAnnouncement. of(byte[] node_signature_1_arg, byte[] node_signature_2_arg, byte[] bitcoin_signature_1_arg, byte[] bitcoin_signature_2_arg, UnsignedChannelAnnouncement contents_arg)
Constructs a new ChannelAnnouncement given each fieldMethods in org.ldk.structs that return types with arguments of type ChannelAnnouncement 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.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 ChannelAnnouncement Modifier and Type Method Description static MessageSendEvent
MessageSendEvent. broadcast_channel_announcement(ChannelAnnouncement msg, ChannelUpdate update_msg)
Utility method to constructs a new BroadcastChannelAnnouncement-variant MessageSendEventResult_boolLightningErrorZ
RoutingMessageHandler. handle_channel_announcement(ChannelAnnouncement msg)
Handle a channel_announcement message, returning true if it should be forwarded on, false or returning an Err otherwise.Result_boolLightningErrorZ
RoutingMessageHandler.RoutingMessageHandlerInterface. handle_channel_announcement(ChannelAnnouncement msg)
Handle a channel_announcement message, returning true if it should be forwarded on, false or returning an Err otherwise.static ChannelInfo
ChannelInfo. of(ChannelFeatures features_arg, byte[] node_one_arg, DirectionalChannelInfo one_to_two_arg, byte[] node_two_arg, DirectionalChannelInfo two_to_one_arg, Option_u64Z capacity_sats_arg, ChannelAnnouncement announcement_message_arg)
Constructs a new ChannelInfo given each fieldstatic Result_ChannelAnnouncementDecodeErrorZ
Result_ChannelAnnouncementDecodeErrorZ. ok(ChannelAnnouncement o)
Creates a new CResult_ChannelAnnouncementDecodeErrorZ in the success state.void
ChannelInfo. set_announcement_message(ChannelAnnouncement val)
An initial announcement of the channel Mostly redundant with the data we store in fields explicitly.Result_NoneLightningErrorZ
NetworkGraph. update_channel_from_announcement(ChannelAnnouncement msg, Access chain_access)
Store or update channel info from a channel announcement.
-