| 85 | } |
| 86 | |
| 87 | bool CBlockTreeDB::WriteReindexing(bool fReindexing) { |
| 88 | if (fReindexing) |
| 89 | return Write(DB_REINDEX_FLAG, '1'); |
| 90 | else |
| 91 | return Erase(DB_REINDEX_FLAG); |
| 92 | } |
| 93 | |
| 94 | bool CBlockTreeDB::ReadReindexing(bool &fReindexing) { |
| 95 | fReindexing = Exists(DB_REINDEX_FLAG); |
no outgoing calls
no test coverage detected