aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2014-10-29 17:02:48 -0700
committerMatt Corallo <[email protected]>2014-10-29 17:02:48 -0700
commit50b43fda08afeeaf22e0ad991a9885ee078a7c78 (patch)
tree8187b6750de709ffa944ba241a35e031c957e660 /src/main.cpp
parentFix -loadblock after shutdown during IBD (diff)
downloaddiscoin-50b43fda08afeeaf22e0ad991a9885ee078a7c78.tar.xz
discoin-50b43fda08afeeaf22e0ad991a9885ee078a7c78.zip
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 238b0400e..5302f0bcb 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