static MessageSendEvent |
MessageSendEvent.broadcast_node_announcement(NodeAnnouncement msg) |
Utility method to constructs a new BroadcastNodeAnnouncement-variant MessageSendEvent
|
boolean |
NodeAnnouncement.eq(NodeAnnouncement b) |
Checks if two NodeAnnouncements contain equal inner contents.
|
Result_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,
NodeAlias alias_arg,
NodeAnnouncement announcement_message_arg) |
Constructs a new NodeAnnouncementInfo given each field
Note that announcement_message_arg (or a relevant inner pointer) may be NULL or all-0s to represent None
|
static 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.
|
static Result_NoneLightningErrorZ |
UtilMethods.verify_node_announcement(NodeAnnouncement msg) |
Verifies the signature of a [`NodeAnnouncement`].
|