| 204 | } |
| 205 | |
| 206 | bool CBlockTreeDB::WriteReindexing(bool fReindexing) { |
| 207 | if (fReindexing) |
| 208 | return Write(DB_REINDEX_FLAG, uint8_t{'1'}); |
| 209 | else |
| 210 | return Erase(DB_REINDEX_FLAG); |
| 211 | } |
| 212 | |
| 213 | void CBlockTreeDB::ReadReindexing(bool &fReindexing) { |
| 214 | fReindexing = Exists(DB_REINDEX_FLAG); |
no outgoing calls
no test coverage detected