lncfg: add config options for new neutrino options

This commit is contained in:
Wilmer Paulino
2021-04-28 16:16:34 -07:00
parent 64d6d26a1c
commit 2084cb0ad5
3 changed files with 10 additions and 0 deletions

2
lnd.go
View File

@@ -1670,6 +1670,8 @@ func initNeutrinoBackend(cfg *Config, chainDir string,
},
AssertFilterHeader: headerStateAssertion,
BlockCache: blockCache.Cache,
BroadcastTimeout: cfg.NeutrinoMode.BroadcastTimeout,
PersistToDisk: cfg.NeutrinoMode.PersistFilters,
}
neutrino.MaxPeers = 8