| 1434 | } |
| 1435 | |
| 1436 | bool GetSpentIndex(CSpentIndexKey &key, CSpentIndexValue &value) |
| 1437 | { |
| 1438 | if (!fSpentIndex) |
| 1439 | return false; |
| 1440 | |
| 1441 | if (mempool.getSpentIndex(key, value)) |
| 1442 | return true; |
| 1443 | |
| 1444 | if (!pblocktree->ReadSpentIndex(key, value)) |
| 1445 | return false; |
| 1446 | |
| 1447 | return true; |
| 1448 | } |
| 1449 | |
| 1450 | bool GetAddressIndex(uint160 addrHash, uint16_t addrType, AddressIndexVector &addressIndex, int start, int end) |
| 1451 | { |
no test coverage detected