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 NodeAnnouncement
MessageSendEvent.BroadcastNodeAnnouncement. msg
The node_announcement which should be sent.NodeAnnouncement
Result_NodeAnnouncementDecodeErrorZ.Result_NodeAnnouncementDecodeErrorZ_OK. res
Methods in org.ldk.structs that return NodeAnnouncement Modifier and Type Method Description NodeAnnouncement
NodeAnnouncement. clone()
Creates a copy of the NodeAnnouncementNodeAnnouncement
NodeAnnouncementInfo. get_announcement_message()
An initial announcement of the node Mostly redundant with the data we store in fields explicitly.NodeAnnouncement[]
RoutingMessageHandler. get_next_node_announcements(byte[] starting_point, byte batch_amount)
Gets a subset of the node announcements required to dump our routing table to a remote node, starting at the node *after* the provided publickey and including batch_amount entries immediately higher (as defined by::cmp) than starting_point. NodeAnnouncement[]
RoutingMessageHandler.RoutingMessageHandlerInterface. get_next_node_announcements(byte[] starting_point, byte batch_amount)
Gets a subset of the node announcements required to dump our routing table to a remote node, starting at the node *after* the provided publickey and including batch_amount entries immediately higher (as defined by::cmp) than starting_point. static NodeAnnouncement
NodeAnnouncement. 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 MessageSendEvent
MessageSendEvent. broadcast_node_announcement(NodeAnnouncement msg)
Utility method to constructs a new BroadcastNodeAnnouncement-variant MessageSendEventResult_boolLightningErrorZ
RoutingMessageHandler. 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_boolLightningErrorZ
RoutingMessageHandler.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 NodeAnnouncementInfo
NodeAnnouncementInfo. of(NodeFeatures features_arg, int last_update_arg, byte[] rgb_arg, byte[] alias_arg, NetAddress[] addresses_arg, NodeAnnouncement announcement_message_arg)
Constructs a new NodeAnnouncementInfo given each fieldstatic Result_NodeAnnouncementDecodeErrorZ
Result_NodeAnnouncementDecodeErrorZ. ok(NodeAnnouncement o)
Creates a new CResult_NodeAnnouncementDecodeErrorZ in the success state.void
NodeAnnouncementInfo. set_announcement_message(NodeAnnouncement val)
An initial announcement of the node Mostly redundant with the data we store in fields explicitly.Result_NoneLightningErrorZ
NetworkGraph. update_node_from_announcement(NodeAnnouncement msg)
For an already known node (from channel announcements), update its stored properties from a given node announcement.
-