Added messages at log level 2 to reflect deactivation procedure

This commit is contained in:
NanoAkron 2016-10-02 23:00:41 +01:00
parent 8f94fcf6a3
commit 442bfd1600
1 changed files with 4 additions and 0 deletions

View File

@ -432,12 +432,16 @@ namespace cryptonote
bool core::deinit()
{
m_miner.stop();
LOG_PRINT_L2("Mining Stopped");
m_mempool.deinit();
LOG_PRINT_L2("Mempool Cleared");
if (!m_fast_exit)
{
m_blockchain_storage.deinit();
LOG_PRINT_L2("Local Blockchain Read/Write Stopped");
}
unlock_db_directory();
LOG_PRINT_L2("Blockchain Directory Unlocked");
return true;
}
//-----------------------------------------------------------------------------------------------