switch to gossip broadcast for topology updates
This commit is contained in:
1 parent
f4416bfadc
commit
f80410bf59
4 files changed
+8
-10
No files matched your search
@@ -269,6 +269,7 @@ func (c *GossipChannel) relayBroadcast(srcName PeerName, update GossipData) erro
|
||||
}
|
||||
|
||||
func (c *GossipChannel) sendBroadcast(srcName PeerName, update GossipData) {
|
||||
c.ourself.Router.Routes.EnsureRecalculated()
|
||||
nextHops := c.ourself.Router.Routes.BroadcastAll(srcName)
|
||||
if len(nextHops) == 0 {
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user