]> git.bitcoin.ninja Git - rust-lightning/commit
Separate gossip broadcasts into their own queue in PeerManager
authorValentine Wallace <vwallace@protonmail.com>
Wed, 24 Aug 2022 22:04:58 +0000 (18:04 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 25 Aug 2022 18:57:43 +0000 (14:57 -0400)
commit47e818f198abafba01b9ad278582886f9007dac2
tree536ff09ba312e5e7192b1dae28e5bb356597e4fa
parentab149dc9d51b4d560b7ef7d86c9718044b998264
Separate gossip broadcasts into their own queue in PeerManager

This allows us to better prioritize channel messages over gossip broadcasts and
lays groundwork for rate limiting onion messages more simply, since they won't
be competing with gossip broadcasts for space in the main message queue.
lightning/src/ln/peer_handler.rs