doc: add comment about CCoinsViewDBCursor constructor

pull/826/head
James O'Beirne 3 years ago
parent 0f8a5a4dd5
commit 7ad414f4bf
No known key found for this signature in database
GPG Key ID: 7A935DADB2C44F05

@ -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() {}

Loading…
Cancel
Save