aboutsummaryrefslogtreecommitdiff
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
parent138aefd0e7b3cb43e8e8c933b83448710f7d6572 (diff)
parent0c4148845bebcd5639a79197bb6b033266793f48 (diff)
downloadmonzero-core-3235abc18405645c38e17b1659820b4675d7cdf3.tar.gz
monzero-core-3235abc18405645c38e17b1659820b4675d7cdf3.tar.xz
monzero-core-3235abc18405645c38e17b1659820b4675d7cdf3.zip
Merge pull request #4030
0c41488 miner: show id and height when a block is found (stoffu)
-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;