mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-06 06:54:49 +02:00
txdb: Increase max dbcache size to 1 TB
This commit is contained in:
parent
e4382fbef5
commit
04c6ba58e0
@ -24,7 +24,7 @@ class uint256;
|
|||||||
//! -dbcache default (MiB)
|
//! -dbcache default (MiB)
|
||||||
static const int64_t nDefaultDbCache = 300;
|
static const int64_t nDefaultDbCache = 300;
|
||||||
//! max. -dbcache (MiB)
|
//! max. -dbcache (MiB)
|
||||||
static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
|
static constexpr int64_t nMaxDbCache = sizeof(void*) > 4 ? 1048576 : 1024;
|
||||||
//! min. -dbcache (MiB)
|
//! min. -dbcache (MiB)
|
||||||
static const int64_t nMinDbCache = 4;
|
static const int64_t nMinDbCache = 4;
|
||||||
//! Max memory allocated to block tree DB specific cache, if no -txindex (MiB)
|
//! Max memory allocated to block tree DB specific cache, if no -txindex (MiB)
|
||||||
|
Loading…
Reference in New Issue
Block a user