Browse Source

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

0.10
Matt Corallo 10 years ago
parent
commit
50b43fda08
  1. 2
      src/main.cpp

2
src/main.cpp

@ -3142,6 +3142,8 @@ bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp)
nLoaded++; nLoaded++;
if (state.IsError()) if (state.IsError())
break; 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 // Recursively process earlier encountered successors of this block

Loading…
Cancel
Save