aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-06-20 12:04:03 +0900
committerstoffu <stoffu@protonmail.ch>2018-06-20 12:04:03 +0900
commitbd9e4e3149ab309471dee795a2c26537b5e4c631 (patch)
treeb8dea8ecbc8dd764a56378b94d269e5f53ea2eb7 /src/daemon/rpc_command_executor.cpp
parentMerge pull request #3878 (diff)
downloadmonero-bd9e4e3149ab309471dee795a2c26537b5e4c631.tar.xz
daemon: show a bit more info with print_block
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
-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 956c84a01..707f03ebd 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)