Merge pull request #4810 from Roasbeef/gossip-throttle-config
multi: add new config option to toggle gossip rate limiting
This commit is contained in:
6 files changed
+27
-2
No files matched your search
@@ -807,6 +807,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
|
||||
MinimumBatchSize: 10,
|
||||
SubBatchDelay: time.Second * 5,
|
||||
IgnoreHistoricalFilters: cfg.IgnoreHistoricalGossipFilters,
|
||||
GossipUpdateThrottle: !cfg.ProtocolOptions.NoGossipThrottle(),
|
||||
},
|
||||
s.identityECDH.PubKey(),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user