Merge pull request #1731

a427235e core: add a missing newline on a string to be logged (moneromooo-monero)
b6a2230e unit_tests: fix minor blockchain_db regression (moneromooo-monero)
c488eca5 hardfork: tone down some logs (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-02-21 11:21:57 +02:00
commit 565c99f670
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
3 changed files with 5 additions and 5 deletions

View file

@ -191,10 +191,10 @@ void HardFork::init()
}
catch (...) { populate = true; }
if (populate) {
LOG_PRINT_L0("The DB has no hard fork info, reparsing from start");
MINFO("The DB has no hard fork info, reparsing from start");
height = 1;
}
LOG_PRINT_L1("reorganizing from " << height);
MDEBUG("reorganizing from " << height);
if (populate) {
reorganize_from_chain_height(height);
// reorg will not touch the genesis block, use this as a flag for populating done
@ -203,7 +203,7 @@ void HardFork::init()
else {
rescan_from_chain_height(height);
}
LOG_PRINT_L1("reorganization done");
MDEBUG("reorganization done");
}
uint8_t HardFork::get_block_version(uint64_t height) const