diff options
| author | Jim Posen <[email protected]> | 2018-08-29 22:15:50 -0700 |
|---|---|---|
| committer | Jim Posen <[email protected]> | 2019-04-06 12:10:55 -0700 |
| commit | ff351050968f290787cd5fa456d394380f64fec3 (patch) | |
| tree | c3becebf7085a6a37f8ec6db5862d90afe164d9f /src/txdb.h | |
| parent | index: Access functions for global block filter indexes. (diff) | |
| download | discoin-ff351050968f290787cd5fa456d394380f64fec3.tar.xz discoin-ff351050968f290787cd5fa456d394380f64fec3.zip | |
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 d5a4bfaeb..c4ece1150 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; |