Merge pull request #2230

5dd722be core: add a message when loading checkpoints at init time (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-08-07 15:12:42 +02:00
commit 9b3b7f050b
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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.");