boolean |
UnsignedNodeAnnouncement.eq(UnsignedNodeAnnouncement b) |
Checks if two UnsignedNodeAnnouncements contain equal inner contents.
|
static UnsignedGossipMessage |
UnsignedGossipMessage.node_announcement(UnsignedNodeAnnouncement a) |
Utility method to constructs a new NodeAnnouncement-variant UnsignedGossipMessage
|
static NodeAnnouncement |
NodeAnnouncement.of(byte[] signature_arg,
UnsignedNodeAnnouncement contents_arg) |
Constructs a new NodeAnnouncement given each field
|
static Result_UnsignedNodeAnnouncementDecodeErrorZ |
Result_UnsignedNodeAnnouncementDecodeErrorZ.ok(UnsignedNodeAnnouncement o) |
Creates a new CResult_UnsignedNodeAnnouncementDecodeErrorZ in the success state.
|
void |
NodeAnnouncement.set_contents(UnsignedNodeAnnouncement val) |
The actual content of the announcement
|
Result_NoneLightningErrorZ |
NetworkGraph.update_node_from_unsigned_announcement(UnsignedNodeAnnouncement msg) |
For an already known node (from channel announcements), update its stored properties from a
given node announcement without verifying the associated signatures.
|