Log gossip query msgs at GOSSIP instead of TRACE as they're huge 2022-04-less-gossip-trace-spam
authorMatt Corallo <git@bluematt.me>
Thu, 14 Apr 2022 02:12:12 +0000 (02:12 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 14 Apr 2022 02:13:22 +0000 (02:13 +0000)
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
        }
 }