aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/miner.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-07-19 13:53:36 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-07-19 13:53:36 -0500
commit3235abc18405645c38e17b1659820b4675d7cdf3 (patch)
tree357de7d527fb023033508de72bb79ee1b36b84d3 /src/cryptonote_basic/miner.cpp
parentMerge pull request #4029 (diff)
parentminer: show id and height when a block is found (diff)
downloadmonero-3235abc18405645c38e17b1659820b4675d7cdf3.tar.xz
Merge pull request #4030
0c41488 miner: show id and height when a block is found (stoffu)
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 3a3222f9b..dfe456ef4 100644
--- a/src/cryptonote_basic/miner.cpp
+++ b/src/cryptonote_basic/miner.cpp
@@ -490,7 +490,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;