miner: show id and height when a block is found

release-v0.2.2.0
stoffu 6 years ago committed by wowario
parent f2b1dca6aa
commit 39ff8c91c7
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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;

Loading…
Cancel
Save