diff options
author | wowario <wowario@protonmail.com> | 2019-05-30 11:57:21 +0300 |
---|---|---|
committer | wowario <wowario@protonmail.com> | 2019-05-30 11:57:21 +0300 |
commit | cd720c7e0b8ad59bbb06e527b98b74f5168bd7e3 (patch) | |
tree | 9674366ca010a6ffc8f2a588c1dc1dc0397bfc79 | |
parent | Merge pull request #5548 (diff) | |
download | monero-cd720c7e0b8ad59bbb06e527b98b74f5168bd7e3.tar.xz |
add cumulative difficulty to diff command
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 1 |
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; |