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

Method WriteReindexing

src/txdb.cpp:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

ThreadImportFunction · 0.80
AppInit2Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected