MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Next

Method Next

src/txdb.cpp:279–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void CCoinsViewDBCursor::Next()
280{
281 pcursor->Next();
282 CoinEntry entry(&keyTmp.second);
283 if (!pcursor->Valid() || !pcursor->GetKey(entry)) {
284 keyTmp.first = 0; // Invalidate cached key after last record so that Valid() and GetKey() return false
285 } else {
286 keyTmp.first = entry.key;
287 }
288}

Callers 6

rest_headersFunction · 0.45
rest_filter_headerFunction · 0.45
ProcessMessageMethod · 0.45
SyncMethod · 0.45
SanityCheckMethod · 0.45
VerifyDBMethod · 0.45

Calls 2

ValidMethod · 0.45
GetKeyMethod · 0.45

Tested by

no test coverage detected