aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-31 06:43:13 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-31 06:43:13 +0100
commit5dd722beaa7716eb48d18c024dd4a7dddb4db38f (patch)
tree9849a7bd78df2c87b4876702c0c9db8b354470e8 /src/cryptonote_core
parentMerge pull request #2159 (diff)
downloadmonero-5dd722beaa7716eb48d18c024dd4a7dddb4db38f.tar.xz
core: add a message when loading checkpoints at init time
This uses DNS, which can take a while, so it's useful to know this is the culprit when loading pauses
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index 4cfa52441..a96bacd44 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -414,6 +414,8 @@ namespace cryptonote
if (block_sync_size == 0)
block_sync_size = BLOCKS_SYNCHRONIZING_DEFAULT_COUNT;
+ MGINFO("Loading checkpoints");
+
// load json & DNS checkpoints, and verify them
// with respect to what blocks we already have
CHECK_AND_ASSERT_MES(update_checkpoints(), false, "One or more checkpoints loaded from json or dns conflicted with existing checkpoints.");