#include <coins.h>
#include <dbwrapper.h>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
◆ CheckLegacyTxindex()
◆ cs_main
Mutex to guard access to validation specific variables, such as reading or changing the chainstate.
This may also need to be locked when updating the transaction pool, e.g. on AcceptToMemoryPool. See CTxMemPool::cs comment for details.
The transaction pool has a separate lock to allow reading from it and the chainstate at the same time.
Definition at line 138 of file validation.cpp.
◆ max_filter_index_cache
const int64_t max_filter_index_cache = 1024 |
|
static |
Max memory allocated to all block filter index caches combined in MiB.
Definition at line 41 of file txdb.h.
◆ nDefaultDbBatchSize
const int64_t nDefaultDbBatchSize = 16 << 20 |
|
static |
-dbbatchsize default (bytes)
Definition at line 29 of file txdb.h.
◆ nDefaultDbCache
const int64_t nDefaultDbCache = 450 |
|
static |
-dbcache default (MiB)
Definition at line 27 of file txdb.h.
◆ nMaxBlockDBCache
const int64_t nMaxBlockDBCache = 2 |
|
static |
Max memory allocated to block tree DB specific cache, if no -txindex (MiB)
Definition at line 35 of file txdb.h.
◆ nMaxCoinsDBCache
const int64_t nMaxCoinsDBCache = 8 |
|
static |
Max memory allocated to coin DB specific cache (MiB)
Definition at line 43 of file txdb.h.
◆ nMaxDbCache
const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024 |
|
static |
max. -dbcache (MiB)
Definition at line 31 of file txdb.h.
◆ nMaxTxIndexCache
const int64_t nMaxTxIndexCache = 1024 |
|
static |
Max memory allocated to block tree DB specific cache, if -txindex (MiB)
Definition at line 39 of file txdb.h.
◆ nMinDbCache
const int64_t nMinDbCache = 4 |
|
static |
min. -dbcache (MiB)
Definition at line 33 of file txdb.h.