These are unrelated to ztxs and should be -debug
This commit is contained in:
@@ -271,13 +271,13 @@ bool CCoinsViewDB::GetStats(CCoinsStats &stats) const {
|
||||
|
||||
bool CBlockTreeDB::WriteBatchSync(const std::vector<std::pair<int, const CBlockFileInfo*> >& fileInfo, int nLastFile, const std::vector<CBlockIndex*>& blockinfo) {
|
||||
CDBBatch batch(*this);
|
||||
if (fZdebug)
|
||||
if (fDebug)
|
||||
fprintf(stderr, "%s: Writing block files\n", __FUNCTION__);
|
||||
for (const auto& it : fileInfo) {
|
||||
batch.Write(make_pair(DB_BLOCK_FILES, it.first), *it.second);
|
||||
}
|
||||
batch.Write(DB_LAST_BLOCK, nLastFile);
|
||||
if (fZdebug)
|
||||
if (fDebug)
|
||||
fprintf(stderr, "%s: Writing block index\n", __FUNCTION__);
|
||||
for (const auto& it : blockinfo) {
|
||||
std::pair<char, uint256> key = make_pair(DB_BLOCK_INDEX, it->GetBlockHash());
|
||||
|
||||
Reference in New Issue
Block a user