daemon: add miner tx hash in print_block output

This commit is contained in:
moneromooo-monero 2019-10-18 12:21:30 +00:00
parent 441ed9f2fe
commit 641c9cf19d
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -97,7 +97,8 @@ namespace {
<< "block weight: " << header.block_weight << std::endl
<< "long term weight: " << header.long_term_weight << std::endl
<< "num txes: " << header.num_txes << std::endl
<< "reward: " << cryptonote::print_money(header.reward);
<< "reward: " << cryptonote::print_money(header.reward) << std::endl
<< "miner tx hash: " << header.miner_tx_hash;
}
std::string get_human_time_ago(time_t t, time_t now)