Class MessageSendEvent.BroadcastChannelAnnouncement

  • Enclosing class:
    MessageSendEvent

    public static final class MessageSendEvent.BroadcastChannelAnnouncement
    extends MessageSendEvent
    Used to indicate that a channel_announcement and channel_update should be broadcast to all peers (except the peer with node_id either msg.contents.node_id_1 or msg.contents.node_id_2). Note that after doing so, you very likely (unless you did so very recently) want to call ChannelManager::broadcast_node_announcement to trigger a BroadcastNodeAnnouncement event. This ensures that any nodes which see our channel_announcement also have a relevant node_announcement, including relevant feature flags which may be important for routing through or to us.
    • Field Detail

      • update_msg

        public final ChannelUpdate update_msg
        The followup channel_update which should be sent.