diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-02-19 09:04:04 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-02-19 09:04:09 +0100 |
| commit | 7f080fbef7b4cd76a3eb547e9bde5db4e56625da (patch) | |
| tree | c624575a00c11230ad2f2bd9d23611c2b71288e5 /src/txdb.h | |
| parent | Merge pull request #3699 (diff) | |
| parent | Change new constants in txdb.h to int64_t (diff) | |
| download | discoin-7f080fbef7b4cd76a3eb547e9bde5db4e56625da.tar.xz discoin-7f080fbef7b4cd76a3eb547e9bde5db4e56625da.zip | |
Merge pull request #3703
ad54a9b Change new constants in txdb.h to int64_t (Wladimir J. van der Laan)
Diffstat (limited to 'src/txdb.h')
| -rw-r--r-- | src/txdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/txdb.h b/src/txdb.h index 0512396e9..5eb5731db 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -19,11 +19,11 @@ class CCoins; class uint256; // -dbcache default (MiB) -static const int nDefaultDbCache = 100; +static const int64_t nDefaultDbCache = 100; // max. -dbcache in (MiB) -static const int nMaxDbCache = sizeof(void*) > 4 ? 4096 : 1024; +static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 4096 : 1024; // min. -dbcache in (MiB) -static const int nMinDbCache = 4; +static const int64_t nMinDbCache = 4; /** CCoinsView backed by the LevelDB coin database (chainstate/) */ class CCoinsViewDB : public CCoinsView |