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
This commit is contained in:
moneromooo-monero 2017-07-31 06:43:13 +01:00
parent ab594cfee9
commit 5dd722beaa
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -414,6 +414,8 @@ namespace cryptonote
if (block_sync_size == 0) if (block_sync_size == 0)
block_sync_size = BLOCKS_SYNCHRONIZING_DEFAULT_COUNT; block_sync_size = BLOCKS_SYNCHRONIZING_DEFAULT_COUNT;
MGINFO("Loading checkpoints");
// load json & DNS checkpoints, and verify them // load json & DNS checkpoints, and verify them
// with respect to what blocks we already have // 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."); CHECK_AND_ASSERT_MES(update_checkpoints(), false, "One or more checkpoints loaded from json or dns conflicted with existing checkpoints.");