static MessageSendEvent |
MessageSendEvent.broadcast_channel_announcement(ChannelAnnouncement msg,
ChannelUpdate update_msg) |
Utility method to constructs a new BroadcastChannelAnnouncement-variant MessageSendEvent
|
boolean |
ChannelAnnouncement.eq(ChannelAnnouncement b) |
Checks if two ChannelAnnouncements contain equal inner contents.
|
Result_boolLightningErrorZ |
RoutingMessageHandler.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_boolLightningErrorZ |
RoutingMessageHandler.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 ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ |
ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.of(ChannelAnnouncement a,
ChannelUpdate b,
ChannelUpdate c) |
Creates a new C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ from the contained elements.
|
static Result_ChannelAnnouncementDecodeErrorZ |
Result_ChannelAnnouncementDecodeErrorZ.ok(ChannelAnnouncement o) |
Creates a new CResult_ChannelAnnouncementDecodeErrorZ in the success state.
|
static MessageSendEvent |
MessageSendEvent.send_channel_announcement(byte[] node_id,
ChannelAnnouncement msg,
ChannelUpdate update_msg) |
Utility method to constructs a new SendChannelAnnouncement-variant MessageSendEvent
|
void |
ChannelInfo.set_announcement_message(ChannelAnnouncement val) |
An initial announcement of the channel
Mostly redundant with the data we store in fields explicitly.
|
Result_NoneLightningErrorZ |
NetworkGraph.update_channel_from_announcement(ChannelAnnouncement msg,
Option_UtxoLookupZ utxo_lookup) |
Store or update channel info from a channel announcement.
|