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
2021-03-18 13:40:53 +02:00
parent 275d55c9e6
commit 6702c79216
4 changed files with 17 additions and 0 deletions

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