Merge pull request #5257 from wpaulino/neutrino-update

lncfg: add config options for new neutrino options
This commit is contained in:
Olaoluwa Osuntokun
2021-04-30 16:54:35 -07:00
committed by GitHub
8 changed files with 33 additions and 14 deletions

2
lnd.go
View File

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