Merge pull request #4810 from Roasbeef/gossip-throttle-config

multi: add new config option to toggle gossip rate limiting
This commit is contained in:
Johan T. Halseth authored and GitHub committed 2020-12-01 13:32:52 +01:00
commit 8ec4697fe3
6 files changed
+27 -2

No files matched your search

+1
View File
@@ -255,6 +255,7 @@ func (cfg NodeConfig) genArgs() []string {
args = append(args, fmt.Sprintf("--invoicemacaroonpath=%v", cfg.InvoiceMacPath))
args = append(args, fmt.Sprintf("--trickledelay=%v", trickleDelay))
args = append(args, fmt.Sprintf("--profile=%d", cfg.ProfilePort))
args = append(args, fmt.Sprintf("--protocol.legacy.no-gossip-throttle"))
if !cfg.HasSeed {
args = append(args, "--noseedbackup")