aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwowario <wowario@protonmail.com>2019-05-30 11:57:21 +0300
committerwowario <wowario@protonmail.com>2019-05-30 11:57:21 +0300
commitcd720c7e0b8ad59bbb06e527b98b74f5168bd7e3 (patch)
tree9674366ca010a6ffc8f2a588c1dc1dc0397bfc79 /src
parentMerge pull request #5548 (diff)
downloadmonero-cd720c7e0b8ad59bbb06e527b98b74f5168bd7e3.tar.xz
add cumulative difficulty to diff command
Diffstat (limited to 'src')
-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 151baa33f..bf7a92703 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -337,6 +337,7 @@ bool t_rpc_command_executor::show_difficulty() {
tools::success_msg_writer() << "BH: " << res.height
<< ", TH: " << res.top_block_hash
<< ", DIFF: " << res.difficulty
+ << ", CUM_DIFF: " << res.cumulative_difficulty
<< ", HR: " << res.difficulty / res.target << " H/s";
return true;