From ff351050968f290787cd5fa456d394380f64fec3 Mon Sep 17 00:00:00 2001 From: Jim Posen Date: Wed, 29 Aug 2018 22:15:50 -0700 Subject: init: Add CLI option to enable block filter index. --- src/txdb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/txdb.h') diff --git a/src/txdb.h b/src/txdb.h index d5a4bfaeb1..c4ece11503 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -37,6 +37,8 @@ static const int64_t nMaxBlockDBCache = 2; // Unlike for the UTXO database, for the txindex scenario the leveldb cache make // a meaningful difference: https://github.com/bitcoin/bitcoin/pull/8273#issuecomment-229601991 static const int64_t nMaxTxIndexCache = 1024; +//! Max memory allocated to all block filter index caches combined in MiB. +static const int64_t max_filter_index_cache = 1024; //! Max memory allocated to coin DB specific cache (MiB) static const int64_t nMaxCoinsDBCache = 8; -- cgit v1.2.3