From 442bfd16005423f0b2061f85841041a2f1a0ccd0 Mon Sep 17 00:00:00 2001 From: NanoAkron Date: Sun, 2 Oct 2016 23:00:41 +0100 Subject: [PATCH] Added messages at log level 2 to reflect deactivation procedure --- src/cryptonote_core/cryptonote_core.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 4abf6a898..f73d4d822 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -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; } //-----------------------------------------------------------------------------------------------