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:
parent
ab594cfee9
commit
5dd722beaa
1 changed files with 2 additions and 0 deletions
|
@ -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.");
|
||||||
|
|
Loading…
Reference in a new issue