We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8a5a4 commit 7ad414fCopy full SHA for 7ad414f
src/txdb.cpp
@@ -172,6 +172,8 @@ bool CBlockTreeDB::ReadLastBlockFile(int &nFile) {
172
class CCoinsViewDBCursor: public CCoinsViewCursor
173
{
174
public:
175
+ // Prefer using CCoinsViewDB::Cursor() since we want to perform some
176
+ // cache warmup on instantiation.
177
CCoinsViewDBCursor(CDBIterator* pcursorIn, const uint256&hashBlockIn):
178
CCoinsViewCursor(hashBlockIn), pcursor(pcursorIn) {}
179
~CCoinsViewDBCursor() {}
0 commit comments