Merge pull request #828 from bmancini55/reply_channel_range
[rust-lightning] / lightning / src / util / events.rs
index 6f6f32daeab18226313872d1b5ae15fbd3bfa038..271b6ddd13e71c0c58ddb1299dc6431970e0f08b 100644 (file)
@@ -362,6 +362,14 @@ pub enum MessageSendEvent {
                /// The query_short_channel_ids which should be sent.
                msg: msgs::QueryShortChannelIds,
        },
+       /// Sends a reply to a channel range query. This may be one of several SendReplyChannelRange events
+       /// emitted during processing of the query.
+       SendReplyChannelRange {
+               /// The node_id of this message recipient
+               node_id: PublicKey,
+               /// The reply_channel_range which should be sent.
+               msg: msgs::ReplyChannelRange,
+       }
 }
 
 /// A trait indicating an object may generate message send events