config: expose gossip.pinned-syncers for conf

The pinned syncer set is exposed as a comma-separated list of pubkeys.
This commit is contained in:
Conner Fromknecht committed 2021-01-29 00:19:47 -08:00
1 parent 2371fc5a8e
commit fcd5cb625a
5 files changed
+59

No files matched your search

+1
View File
@@ -820,6 +820,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
SubBatchDelay: time.Second * 5,
IgnoreHistoricalFilters: cfg.IgnoreHistoricalGossipFilters,
GossipUpdateThrottle: !cfg.ProtocolOptions.NoGossipThrottle(),
PinnedSyncers: cfg.Gossip.PinnedSyncers,
},
s.identityECDH.PubKey(),
)