mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
daemon: show a bit more info with print_block
This commit is contained in:
parent
896512b2b6
commit
bd9e4e3149
@ -75,7 +75,9 @@ namespace {
|
|||||||
<< "hash: " << header.hash << std::endl
|
<< "hash: " << header.hash << std::endl
|
||||||
<< "difficulty: " << boost::lexical_cast<std::string>(header.difficulty) << std::endl
|
<< "difficulty: " << boost::lexical_cast<std::string>(header.difficulty) << std::endl
|
||||||
<< "POW hash: " << header.pow_hash << std::endl
|
<< "POW hash: " << header.pow_hash << std::endl
|
||||||
<< "reward: " << boost::lexical_cast<std::string>(header.reward);
|
<< "block size: " << header.block_size << std::endl
|
||||||
|
<< "num txes: " << header.num_txes << std::endl
|
||||||
|
<< "reward: " << cryptonote::print_money(header.reward);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string get_human_time_ago(time_t t, time_t now)
|
std::string get_human_time_ago(time_t t, time_t now)
|
||||||
|
Loading…
Reference in New Issue
Block a user