Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <coins.h>#include <dbwrapper.h>#include <chain.h>#include <limitedmap.h>#include <spentindex.h>#include <sync.h>#include <map>#include <memory>#include <string>#include <utility>#include <vector>
Include dependency graph for txdb.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | CDiskTxPos |
| class | CCoinsViewDB |
| CCoinsView backed by the coin database (chainstate/) More... | |
| class | CCoinsViewDBCursor |
| Specialization of CCoinsViewCursor to iterate over a CCoinsViewDB. More... | |
| class | CBlockTreeDB |
| Access to the block database (blocks/index/) More... | |
Variables | |
| static constexpr int | MAX_BLOCK_COINSDB_USAGE = 10 |
| No need to periodic flush if at least this much space still available. More... | |
| static const int64_t | nDefaultDbCache = 300 |
| -dbcache default (MiB) More... | |
| static const int64_t | nDefaultDbBatchSize = 16 << 20 |
| -dbbatchsize default (bytes) More... | |
| static const int64_t | nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024 |
| max. -dbcache (MiB) More... | |
| static const int64_t | nMinDbCache = 4 |
| min. -dbcache (MiB) More... | |
| static const int64_t | nMaxBlockDBCache = 2 |
| Max memory allocated to block tree DB specific cache, if no -txindex (MiB) More... | |
| static const int64_t | nMaxBlockDBAndTxIndexCache = 1024 |
| Max memory allocated to block tree DB specific cache, if -txindex (MiB) More... | |
| static const int64_t | nMaxCoinsDBCache = 8 |
| Max memory allocated to coin DB specific cache (MiB) More... | |
Variable Documentation
◆ MAX_BLOCK_COINSDB_USAGE
|
static |
No need to periodic flush if at least this much space still available.
Definition at line 27 of file txdb.h.
Referenced by FlushStateToDisk().
◆ nDefaultDbBatchSize
|
static |
-dbbatchsize default (bytes)
Definition at line 31 of file txdb.h.
Referenced by CCoinsViewDB::BatchWrite(), and HelpMessage().
◆ nDefaultDbCache
|
static |
-dbcache default (MiB)
Definition at line 29 of file txdb.h.
Referenced by AppInitMain(), OptionsModel::checkAndMigrate(), HelpMessage(), and OptionsModel::Init().
◆ nMaxBlockDBAndTxIndexCache
|
static |
Max memory allocated to block tree DB specific cache, if -txindex (MiB)
Definition at line 41 of file txdb.h.
Referenced by AppInitMain().
◆ nMaxBlockDBCache
|
static |
Max memory allocated to block tree DB specific cache, if no -txindex (MiB)
Definition at line 37 of file txdb.h.
Referenced by AppInitMain().
◆ nMaxCoinsDBCache
|
static |
Max memory allocated to coin DB specific cache (MiB)
Definition at line 43 of file txdb.h.
Referenced by AppInitMain().
◆ nMaxDbCache
|
static |
max. -dbcache (MiB)
Definition at line 33 of file txdb.h.
Referenced by AppInitMain(), HelpMessage(), and OptionsDialog::OptionsDialog().
◆ nMinDbCache
|
static |
min. -dbcache (MiB)
Definition at line 35 of file txdb.h.
Referenced by AppInitMain(), HelpMessage(), and OptionsDialog::OptionsDialog().

