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

View file

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