Skip to content

Commit

Permalink
Log gossip query msgs at GOSSIP instead of TRACE as they're huge
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Apr 14, 2022
1 parent 0a0f87c commit d0a1b2b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lightning/src/ln/peer_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit d0a1b2b

Please sign in to comment.