aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-07-24 14:20:12 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-07-24 14:20:12 -0500
commit96cda93a9313821a3e82d593218fcd628ade848b (patch)
tree8d8bfad016ca75f1dfa49955748492cdcaeff598 /src
parentMerge pull request #5585 (diff)
parentadd cumulative difficulty to diff command (diff)
downloadmonero-96cda93a9313821a3e82d593218fcd628ade848b.tar.xz
Merge pull request #5588
cd720c7 add cumulative difficulty to diff command (wowario)
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 c521c6292..f3b9ea6ec 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -338,6 +338,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;