diff options
| author | stoffu <stoffu@protonmail.ch> | 2018-06-20 12:04:03 +0900 |
|---|---|---|
| committer | stoffu <stoffu@protonmail.ch> | 2018-06-20 12:04:03 +0900 |
| commit | bd9e4e3149ab309471dee795a2c26537b5e4c631 (patch) | |
| tree | b8dea8ecbc8dd764a56378b94d269e5f53ea2eb7 | |
| parent | 896512b2b6c68b032645c6e16654386fad8ef6e5 (diff) | |
| download | monzero-core-bd9e4e3149ab309471dee795a2c26537b5e4c631.tar.gz monzero-core-bd9e4e3149ab309471dee795a2c26537b5e4c631.tar.xz monzero-core-bd9e4e3149ab309471dee795a2c26537b5e4c631.zip | |
daemon: show a bit more info with print_block
| -rw-r--r-- | src/daemon/rpc_command_executor.cpp | 4 |
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) |
