aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/miner.cpp
diff options
context:
space:
mode:
authorNanoAkron <nanoakron@users.noreply.github.com>2016-10-03 22:11:00 +0100
committerNanoAkron <nanoakron@users.noreply.github.com>2016-10-03 22:11:00 +0100
commit8ed0d72b12e6b0d1733c106d07c1b1036507e81e (patch)
tree541da023a4cc9d6a80702e694cc8865dd8adb56e /src/cryptonote_core/miner.cpp
parentAdded messages at log level 2 to reflect deactivation procedure (diff)
downloadmonero-8ed0d72b12e6b0d1733c106d07c1b1036507e81e.tar.xz
Moved logging to target functions rather than caller
Diffstat (limited to 'src/cryptonote_core/miner.cpp')
-rw-r--r--src/cryptonote_core/miner.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_core/miner.cpp b/src/cryptonote_core/miner.cpp
index ec717a13d..7e4f705a2 100644
--- a/src/cryptonote_core/miner.cpp
+++ b/src/cryptonote_core/miner.cpp
@@ -278,7 +278,10 @@ namespace cryptonote
//-----------------------------------------------------------------------------------------------------
bool miner::stop()
{
+ LOG_PRINT_L1("Miner has received stop signal");
+
if (!is_mining())
+ LOG_PRINT_L1("Not mining - nothing to stop" );
return true;
send_stop_signal();