MCPcopy Create free account
hub / github.com/LUX-Core/lux / ReadSpentIndex

Method ReadSpentIndex

src/txdb.cpp:248–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248bool CBlockTreeDB::ReadSpentIndex(CSpentIndexKey &key, CSpentIndexValue &value) {
249 return Read(std::make_pair(DB_SPENTINDEX, key), value);
250}
251
252bool CBlockTreeDB::UpdateSpentIndex(const std::vector<std::pair<CSpentIndexKey, CSpentIndexValue> >&vect) {
253 CLevelDBBatch batch;

Callers 1

GetSpentIndexFunction · 0.80

Calls 1

ReadClass · 0.85

Tested by

no test coverage detected