f1b40e0b4d
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. |
||
---|---|---|
.. | ||
ann_validation.go | ||
bootstrapper.go | ||
gossiper_test.go | ||
gossiper.go | ||
log.go | ||
utils.go |