multi: add block cache size config
This commit adds block cache size to the main lnd config along with the chainreg config.
This commit is contained in:
1 parent
275d55c9e6
commit
6702c79216
4 files changed
+17
No files matched your search
@@ -546,6 +546,7 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error
|
||||
Dialer: func(addr string) (net.Conn, error) {
|
||||
return cfg.net.Dial("tcp", addr, cfg.ConnectionTimeout)
|
||||
},
|
||||
BlockCacheSize: cfg.BlockCacheSize,
|
||||
}
|
||||
|
||||
activeChainControl, cleanup, err := chainreg.NewChainControl(chainControlCfg)
|
||||
|
||||
Reference in new issue
Block a user