hardfork: tone down some logs
This commit is contained in:
parent
3f171b931f
commit
c488eca5e8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue