hardfork: tone down some logs

This commit is contained in:
moneromooo-monero 2017-02-14 18:54:41 +00:00
parent 3f171b931f
commit c488eca5e8
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -191,10 +191,10 @@ void HardFork::init()
} }
catch (...) { populate = true; } catch (...) { populate = true; }
if (populate) { 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; height = 1;
} }
LOG_PRINT_L1("reorganizing from " << height); MDEBUG("reorganizing from " << height);
if (populate) { if (populate) {
reorganize_from_chain_height(height); reorganize_from_chain_height(height);
// reorg will not touch the genesis block, use this as a flag for populating done // reorg will not touch the genesis block, use this as a flag for populating done
@ -203,7 +203,7 @@ void HardFork::init()
else { else {
rescan_from_chain_height(height); rescan_from_chain_height(height);
} }
LOG_PRINT_L1("reorganization done"); MDEBUG("reorganization done");
} }
uint8_t HardFork::get_block_version(uint64_t height) const uint8_t HardFork::get_block_version(uint64_t height) const