Log gossip query msgs at GOSSIP instead of TRACE as they're huge
[rust-lightning] / lightning / src / ln / peer_handler.rs
index d12f8c06eed0409630864359e54c20d3b714930d..c09df17525972ea242fefc1184a5babf070c9802 100644 (file)
@@ -1707,7 +1707,11 @@ fn is_gossip_msg(type_id: u16) -> bool {
        match type_id {
                msgs::ChannelAnnouncement::TYPE |
                msgs::ChannelUpdate::TYPE |
-               msgs::NodeAnnouncement::TYPE => true,
+               msgs::NodeAnnouncement::TYPE |
+               msgs::QueryChannelRange::TYPE |
+               msgs::ReplyChannelRange::TYPE |
+               msgs::QueryShortChannelIds::TYPE |
+               msgs::ReplyShortChannelIdsEnd::TYPE => true,
                _ => false
        }
 }