aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2014-10-29 17:02:48 -0700
committerMatt Corallo <git@bluematt.me>2014-10-29 17:02:48 -0700
commit50b43fda08afeeaf22e0ad991a9885ee078a7c78 (patch)
tree8187b6750de709ffa944ba241a35e031c957e660 /src/main.cpp
parent8375e2215f24ff4b92c634d2dc56898e9cda437b (diff)
Be a bit more verbose during -loadblock if we already have blocks
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 238b0400ea..5302f0bcb4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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