Merge pull request #4029

bd9e4e3 daemon: show a bit more info with print_block (stoffu)
This commit is contained in:
luigi1111 2018-07-19 13:52:41 -05:00
commit 138aefd0e7
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 3 additions and 1 deletions

View File

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