static MessageSendEvent |
MessageSendEvent.broadcast_channel_announcement(ChannelAnnouncement msg,
ChannelUpdate update_msg) |
Utility method to constructs a new BroadcastChannelAnnouncement-variant MessageSendEvent
|
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.
|
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_AccessZ chain_access) |
Store or update channel info from a channel announcement.
|