From d0a1b2b220bc646953d64e3226cdc3cf35b79f14 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 14 Apr 2022 02:12:12 +0000 Subject: [PATCH] Log gossip query msgs at GOSSIP instead of TRACE as they're huge --- lightning/src/ln/peer_handler.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 } } -- 2.39.5