Uses of Class
org.ldk.structs.NodeAnnouncement
-
Packages that use NodeAnnouncement Package Description org.ldk.structs -
-
Uses of NodeAnnouncement in org.ldk.structs
Fields in org.ldk.structs declared as NodeAnnouncement Modifier and Type Field Description NodeAnnouncementMessageSendEvent.BroadcastNodeAnnouncement. msgThe node_announcement which should be sent.NodeAnnouncementResult_NodeAnnouncementDecodeErrorZ.Result_NodeAnnouncementDecodeErrorZ_OK. resMethods in org.ldk.structs that return NodeAnnouncement Modifier and Type Method Description NodeAnnouncementNodeAnnouncement. clone()Creates a copy of the NodeAnnouncementNodeAnnouncementNodeAnnouncementInfo. get_announcement_message()An initial announcement of the node Mostly redundant with the data we store in fields explicitly.NodeAnnouncementRoutingMessageHandler. get_next_node_announcement(NodeId starting_point)Gets a node announcement required to dump our routing table to a remote node, starting at the node *after* the provided pubkey and including up to one announcement immediately higher (as defined by `::cmp`) than `starting_point`. NodeAnnouncementRoutingMessageHandler.RoutingMessageHandlerInterface. get_next_node_announcement(NodeId starting_point)Gets a node announcement required to dump our routing table to a remote node, starting at the node *after* the provided pubkey and including up to one announcement immediately higher (as defined by `::cmp`) than `starting_point`. static NodeAnnouncementNodeAnnouncement. of(byte[] signature_arg, UnsignedNodeAnnouncement contents_arg)Constructs a new NodeAnnouncement given each fieldMethods in org.ldk.structs with parameters of type NodeAnnouncement Modifier and Type Method Description static MessageSendEventMessageSendEvent. broadcast_node_announcement(NodeAnnouncement msg)Utility method to constructs a new BroadcastNodeAnnouncement-variant MessageSendEventbooleanNodeAnnouncement. eq(NodeAnnouncement b)Checks if two NodeAnnouncements contain equal inner contents.Result_boolLightningErrorZRoutingMessageHandler. handle_node_announcement(NodeAnnouncement msg)Handle an incoming `node_announcement` message, returning `true` if it should be forwarded on, `false` or returning an `Err` otherwise.Result_boolLightningErrorZRoutingMessageHandler.RoutingMessageHandlerInterface. handle_node_announcement(NodeAnnouncement msg)Handle an incoming `node_announcement` message, returning `true` if it should be forwarded on, `false` or returning an `Err` otherwise.static NodeAnnouncementInfoNodeAnnouncementInfo. of(NodeFeatures features_arg, int last_update_arg, byte[] rgb_arg, NodeAlias alias_arg, NodeAnnouncement announcement_message_arg)Constructs a new NodeAnnouncementInfo given each fieldstatic Result_NodeAnnouncementDecodeErrorZResult_NodeAnnouncementDecodeErrorZ. ok(NodeAnnouncement o)Creates a new CResult_NodeAnnouncementDecodeErrorZ in the success state.voidNodeAnnouncementInfo. set_announcement_message(NodeAnnouncement val)An initial announcement of the node Mostly redundant with the data we store in fields explicitly.Result_NoneLightningErrorZNetworkGraph. update_node_from_announcement(NodeAnnouncement msg)For an already known node (from channel announcements), update its stored properties from a given node announcement.
-