diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/txdb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp index e6469ee159..4b76bee5ab 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -172,6 +172,8 @@ bool CBlockTreeDB::ReadLastBlockFile(int &nFile) { class CCoinsViewDBCursor: public CCoinsViewCursor { public: + // Prefer using CCoinsViewDB::Cursor() since we want to perform some + // cache warmup on instantiation. CCoinsViewDBCursor(CDBIterator* pcursorIn, const uint256&hashBlockIn): CCoinsViewCursor(hashBlockIn), pcursor(pcursorIn) {} ~CCoinsViewDBCursor() {} |