lncfg: expose channel update rate limiting options

This commit is contained in:
Wilmer Paulino committed 2021-03-16 11:42:29 -07:00
1 parent b4aa661d16
commit dcac5a87f4
4 files changed
+17 -1

No files matched your search

+2
View File
@@ -823,6 +823,8 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
SubBatchDelay: time.Second * 5,
IgnoreHistoricalFilters: cfg.IgnoreHistoricalGossipFilters,
PinnedSyncers: cfg.Gossip.PinnedSyncers,
MaxChannelUpdateBurst: cfg.Gossip.MaxChannelUpdateBurst,
ChannelUpdateInterval: cfg.Gossip.ChannelUpdateInterval,
},
nodeKeyECDH.PubKey(),
)