static MessageSendEvent |
MessageSendEvent.broadcast_channel_announcement(ChannelAnnouncement msg,
ChannelUpdate update_msg) |
Utility method to constructs a new BroadcastChannelAnnouncement-variant MessageSendEvent
|
static MessageSendEvent |
MessageSendEvent.broadcast_channel_update(ChannelUpdate msg) |
Utility method to constructs a new BroadcastChannelUpdate-variant MessageSendEvent
|
static NetworkUpdate |
NetworkUpdate.channel_update_message(ChannelUpdate msg) |
Utility method to constructs a new ChannelUpdateMessage-variant NetworkUpdate
|
boolean |
ChannelUpdate.eq(ChannelUpdate b) |
Checks if two ChannelUpdates contain equal inner contents.
|
void |
ChannelMessageHandler.ChannelMessageHandlerInterface.handle_channel_update(byte[] their_node_id,
ChannelUpdate msg) |
Handle an incoming `channel_update` message from the given peer.
|
void |
ChannelMessageHandler.handle_channel_update(byte[] their_node_id,
ChannelUpdate msg) |
Handle an incoming `channel_update` message from the given peer.
|
Result_boolLightningErrorZ |
RoutingMessageHandler.handle_channel_update(ChannelUpdate msg) |
Handle an incoming `channel_update` message, returning true if it should be forwarded on,
`false` or returning an `Err` otherwise.
|
Result_boolLightningErrorZ |
RoutingMessageHandler.RoutingMessageHandlerInterface.handle_channel_update(ChannelUpdate msg) |
Handle an incoming `channel_update` message, returning true if it should be forwarded on,
`false` or returning an `Err` otherwise.
|
static ChannelUpdateInfo |
ChannelUpdateInfo.of(int last_update_arg,
boolean enabled_arg,
short cltv_expiry_delta_arg,
long htlc_minimum_msat_arg,
long htlc_maximum_msat_arg,
RoutingFees fees_arg,
ChannelUpdate last_update_message_arg) |
Constructs a new ChannelUpdateInfo given each field
|
static ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ |
ThreeTuple_ChannelAnnouncementChannelUpdateChannelUpdateZ.of(ChannelAnnouncement a,
ChannelUpdate b,
ChannelUpdate c) |
Creates a new C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ from the contained elements.
|
static Result_ChannelUpdateDecodeErrorZ |
Result_ChannelUpdateDecodeErrorZ.ok(ChannelUpdate o) |
Creates a new CResult_ChannelUpdateDecodeErrorZ 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
|
static MessageSendEvent |
MessageSendEvent.send_channel_update(byte[] node_id,
ChannelUpdate msg) |
Utility method to constructs a new SendChannelUpdate-variant MessageSendEvent
|
void |
ChannelUpdateInfo.set_last_update_message(ChannelUpdate val) |
Most recent update for the channel received from the network
Mostly redundant with the data we store in fields explicitly.
|
Result_NoneLightningErrorZ |
NetworkGraph.update_channel(ChannelUpdate msg) |
For an already known (from announcement) channel, update info about one of the directions
of the channel.
|