mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 12:26:31 +02:00
miner: show id and height when a block is found
This commit is contained in:
parent
896512b2b6
commit
0c4148845b
@ -485,7 +485,7 @@ namespace cryptonote
|
|||||||
{
|
{
|
||||||
//we lucky!
|
//we lucky!
|
||||||
++m_config.current_extra_message_index;
|
++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))
|
if(!m_phandler->handle_block_found(b))
|
||||||
{
|
{
|
||||||
--m_config.current_extra_message_index;
|
--m_config.current_extra_message_index;
|
||||||
|
Loading…
Reference in New Issue
Block a user