diff options
author | Jim Posen <jim.posen@gmail.com> | 2018-08-29 22:15:50 -0700 |
---|---|---|
committer | Jim Posen <jim.posen@gmail.com> | 2019-04-06 12:10:55 -0700 |
commit | ff351050968f290787cd5fa456d394380f64fec3 (patch) | |
tree | c3becebf7085a6a37f8ec6db5862d90afe164d9f /src/txdb.h | |
parent | accc8b8b1842ed6d522b71a056777bcac8f39e81 (diff) |
init: Add CLI option to enable block filter index.
Diffstat (limited to 'src/txdb.h')
-rw-r--r-- | src/txdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |