Skip to content

Commit 7181b53

Browse files
authored
Merge pull request #1421 from TheBlueMatt/2022-04-less-gossip-trace-spam
Log gossip query msgs at GOSSIP instead of TRACE as they're huge
2 parents 72069bf + d0a1b2b commit 7181b53

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,11 @@ fn is_gossip_msg(type_id: u16) -> bool {
17071707
match type_id {
17081708
msgs::ChannelAnnouncement::TYPE |
17091709
msgs::ChannelUpdate::TYPE |
1710-
msgs::NodeAnnouncement::TYPE => true,
1710+
msgs::NodeAnnouncement::TYPE |
1711+
msgs::QueryChannelRange::TYPE |
1712+
msgs::ReplyChannelRange::TYPE |
1713+
msgs::QueryShortChannelIds::TYPE |
1714+
msgs::ReplyShortChannelIdsEnd::TYPE => true,
17111715
_ => false
17121716
}
17131717
}

0 commit comments

Comments
 (0)