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 ChannelInfo |
ChannelInfo.of(ChannelFeatures features_arg,
byte[] node_one_arg,
DirectionalChannelInfo one_to_two_arg,
byte[] node_two_arg,
DirectionalChannelInfo two_to_one_arg,
Option_u64Z capacity_sats_arg,
ChannelAnnouncement announcement_message_arg) |
Constructs a new ChannelInfo given each field
|
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.
|