MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / WriteReindexing

Method WriteReindexing

src/txdb.cpp:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

ThreadImportFunction · 0.80
AppInitMainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected