mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
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:
commit
7181b53aa4
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue