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

Method WriteReindexing

src/persistence/blockdb.cpp:164–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool CBlockDBCache::WriteReindexing(bool fReindexing) {
165 if (fReindexing)
166 return reindex_cache.SetData(true);
167 else
168 return reindex_cache.EraseData();
169}
170bool CBlockDBCache::ReadReindexing(bool &fReindexing) {
171 return reindex_cache.GetData(fReindexing);
172}

Callers 2

ThreadImportFunction · 0.80
AppInitFunction · 0.80

Calls 2

SetDataMethod · 0.45
EraseDataMethod · 0.45

Tested by

no test coverage detected