MCPcopy Create free account
hub / github.com/ElementsProject/elements / WriteReindexing

Method WriteReindexing

src/txdb.cpp:206–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206bool 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
213void CBlockTreeDB::ReadReindexing(bool &fReindexing) {
214 fReindexing = Exists(DB_REINDEX_FLAG);

Callers 2

LoadChainstateFunction · 0.80
ThreadImportFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected