discovery+server: use new gossiper's SyncManager subsystem

This commit is contained in:
Wilmer Paulino committed 2019-04-03 15:44:43 -07:00
1 parent 80b84eef9c
commit 70be812747
5 files changed
+116 -156

No files matched your search

-2
View File
@@ -205,8 +205,6 @@ type gossipSyncerCfg struct {
// filter out which messages should be sent to a remote peer based on their
// update horizon. If the update horizon isn't specified, then we won't send
// them any channel updates at all.
//
// TODO(roasbeef): modify to only sync from one peer at a time?
type GossipSyncer struct {
started sync.Once
stopped sync.Once