]> git.bitcoin.ninja Git - rust-lightning/commit
Add a test of gossip message buffer limiting in `PeerManager` 2024-06-robust-updates
authorMatt Corallo <git@bluematt.me>
Tue, 20 Aug 2024 02:22:22 +0000 (02:22 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 17 Oct 2024 19:09:15 +0000 (19:09 +0000)
commitf4b23115f6fd29d06e614959a226cf0c24075123
treed0baab94abff2c3c17ee38da40258597229393fe
parent21904ffcb560d377b9654431917a5302d9c4344c
Add a test of gossip message buffer limiting in `PeerManager`

This adds a simple test that the gossip message buffer in
`PeerManager` is limited, including the new behavior of bypassing
the limit when the broadcast comes from the
`ChannelMessageHandler`.
lightning/src/ln/peer_handler.rs
lightning/src/routing/test_utils.rs
lightning/src/util/test_utils.rs