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
This commit is contained in:
Matt Corallo 2022-04-27 15:59:48 +00:00 committed by GitHub
commit 7181b53aa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1707,7 +1707,11 @@ fn is_gossip_msg(type_id: u16) -> bool {
match type_id { match type_id {
msgs::ChannelAnnouncement::TYPE | msgs::ChannelAnnouncement::TYPE |
msgs::ChannelUpdate::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 _ => false
} }
} }