| 155 | } |
| 156 | |
| 157 | bool CBlockTreeDB::WriteReindexing(bool fReindexing) { |
| 158 | if (fReindexing) |
| 159 | return Write(DB_REINDEX_FLAG, '1'); |
| 160 | else |
| 161 | return Erase(DB_REINDEX_FLAG); |
| 162 | } |
| 163 | |
| 164 | void CBlockTreeDB::ReadReindexing(bool &fReindexing) { |
| 165 | fReindexing = Exists(DB_REINDEX_FLAG); |
no outgoing calls
no test coverage detected