discovery+server: use new gossiper's SyncManager subsystem

This commit is contained in:
Wilmer Paulino
2019-03-22 19:56:33 -07:00
parent 80b84eef9c
commit 70be812747
5 changed files with 116 additions and 156 deletions

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