aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-18 19:56:17 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-18 19:56:17 +0000
commit0ab56b80dbf59ecc9877a055ced3c46dda501646 (patch)
treeb27341e7226da5763c66f5f5d999c03b6fc1f7c2 /src/daemon/rpc_command_executor.cpp
parentMerge pull request #541 (diff)
downloadmonero-0ab56b80dbf59ecc9877a055ced3c46dda501646.tar.xz
print top block hash in daemon diff command
and add top block hash in get_info RPC
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
-rw-r--r--src/daemon/rpc_command_executor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 686af69c2..9e7f3fdc3 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -241,6 +241,7 @@ bool t_rpc_command_executor::show_difficulty() {
}
tools::success_msg_writer() << "BH: " << res.height
+ << ", TH: " << res.top_block_hash
<< ", DIFF: " << res.difficulty
<< ", HR: " << (int) res.difficulty / res.target << " H/s";