aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/miner.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-06-20 12:08:40 +0900
committerstoffu <stoffu@protonmail.ch>2018-06-20 12:08:40 +0900
commit0c4148845bebcd5639a79197bb6b033266793f48 (patch)
tree9defeb959a85db1120db3b0ebf84aa73a0d36173 /src/cryptonote_basic/miner.cpp
parentMerge pull request #3878 (diff)
downloadmonero-0c4148845bebcd5639a79197bb6b033266793f48.tar.xz
miner: show id and height when a block is found
Diffstat (limited to 'src/cryptonote_basic/miner.cpp')
-rw-r--r--src/cryptonote_basic/miner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp
index 2c777f5a2..62cdaaa53 100644
--- a/src/cryptonote_basic/miner.cpp
+++ b/src/cryptonote_basic/miner.cpp
@@ -485,7 +485,7 @@ namespace cryptonote
{
//we lucky!
++m_config.current_extra_message_index;
- MGINFO_GREEN("Found block for difficulty: " << local_diff);
+ MGINFO_GREEN("Found block " << get_block_hash(b) << " at height " << height << " for difficulty: " << local_diff);
if(!m_phandler->handle_block_found(b))
{
--m_config.current_extra_message_index;