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:
Elle Mouton committed 2021-04-28 09:46:11 +02:00
1 parent 275d55c9e6
commit 6702c79216
4 files changed
+17

No files matched your search

+3
View File
@@ -73,6 +73,9 @@ type Config struct {
// RemoteChanDB is a pointer to the remote backing channel database.
RemoteChanDB *channeldb.DB
// BlockCacheSize is the size (in bytes) of blocks kept in memory.
BlockCacheSize uint64
// PrivateWalletPw is the private wallet password to the underlying
// btcwallet instance.
PrivateWalletPw []byte