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 ChannelAnnouncementMessageSendEvent.BroadcastChannelAnnouncement. msgThe channel_announcement which should be sent.ChannelAnnouncementResult_ChannelAnnouncementDecodeErrorZ.Result_ChannelAnnouncementDecodeErrorZ_OK. resMethods in org.ldk.structs that return ChannelAnnouncement Modifier and Type Method Description ChannelAnnouncementChannelAnnouncement. clone()Creates a copy of the ChannelAnnouncementChannelAnnouncementChannelInfo. get_announcement_message()An initial announcement of the channel Mostly redundant with the data we store in fields explicitly.static ChannelAnnouncementChannelAnnouncement. 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 MessageSendEventMessageSendEvent. broadcast_channel_announcement(ChannelAnnouncement msg, ChannelUpdate update_msg)Utility method to constructs a new BroadcastChannelAnnouncement-variant MessageSendEventResult_boolLightningErrorZRoutingMessageHandler. 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_boolLightningErrorZRoutingMessageHandler.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 ChannelInfoChannelInfo. 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_ChannelAnnouncementDecodeErrorZResult_ChannelAnnouncementDecodeErrorZ. ok(ChannelAnnouncement o)Creates a new CResult_ChannelAnnouncementDecodeErrorZ in the success state.voidChannelInfo. set_announcement_message(ChannelAnnouncement val)An initial announcement of the channel Mostly redundant with the data we store in fields explicitly.Result_NoneLightningErrorZNetworkGraph. update_channel_from_announcement(ChannelAnnouncement msg, Access chain_access)Store or update channel info from a channel announcement.
-