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

Method GetKey

src/txdb.cpp:259–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259bool CCoinsViewDBCursor::GetKey(COutPoint &key) const
260{
261 // Return cached key
262 if (keyTmp.first == DB_COIN) {
263 key = keyTmp.second;
264 return true;
265 }
266 return false;
267}
268
269bool CCoinsViewDBCursor::GetValue(Coin &coin) const
270{

Callers 5

AddAddressKnownMethod · 0.45
PushAddressMethod · 0.45
MaybeSendAddrMethod · 0.45
CursorMethod · 0.45
NextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected