mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-28 10:41:57 +01:00
In this commit, we modify the deDupedAnnouncements struct slightly. The element of this struct will now keep track of the set of senders that sent a particular message. Each time a message is added, we’ll replace the new message with the old (as normal), but we’ll also add the new sender to the set of known senders. With this new feature, we’ll be able to avoid re-sending a message to the peer that sent it to us in the first place.