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