From: Matt Corallo Date: Thu, 14 Apr 2022 02:12:12 +0000 (+0000) Subject: Log gossip query msgs at GOSSIP instead of TRACE as they're huge X-Git-Tag: v0.0.107~54^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d0a1b2b220bc646953d64e3226cdc3cf35b79f14;p=rust-lightning Log gossip query msgs at GOSSIP instead of TRACE as they're huge --- diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index d12f8c06e..c09df1752 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -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 } }