Be a bit more verbose during -loadblock if we already have blocks

This commit is contained in:
Matt Corallo 2014-10-29 17:02:48 -07:00
parent 8375e2215f
commit 50b43fda08
1 changed files with 2 additions and 0 deletions

View File

@ -3142,6 +3142,8 @@ bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp)
nLoaded++;
if (state.IsError())
break;
} else if (hash != Params().HashGenesisBlock() && mapBlockIndex[hash]->nHeight % 1000 == 0) {
LogPrintf("Block Import: already had block %s at height %d\n", hash.ToString(), mapBlockIndex[hash]->nHeight);
}
// Recursively process earlier encountered successors of this block