aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-07-19 13:52:41 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-07-19 13:52:41 -0500
commit138aefd0e7b3cb43e8e8c933b83448710f7d6572 (patch)
treef2909fb27d3dd7348c1424f05b42ced9035ec41a /src/daemon
parentMerge pull request #4023 (diff)
parentdaemon: show a bit more info with print_block (diff)
downloadmonero-138aefd0e7b3cb43e8e8c933b83448710f7d6572.tar.xz
Merge pull request #4029
bd9e4e3 daemon: show a bit more info with print_block (stoffu)
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/rpc_command_executor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 5d1a9a556..e2b42c806 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -75,7 +75,9 @@ namespace {
<< "hash: " << header.hash << std::endl
<< "difficulty: " << boost::lexical_cast<std::string>(header.difficulty) << 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)