diff --git a/src/txdb.cpp b/src/txdb.cpp index e6469ee1599..4b76bee5ab8 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() {}