daemon: show a bit more info with print_block

This commit is contained in:
stoffu 2018-06-20 12:04:03 +09:00
parent 896512b2b6
commit bd9e4e3149
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012

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)