From 1a8353dd90d24a745bdd74f4af452c19d045c61f Mon Sep 17 00:00:00 2001 From: wowario Date: Tue, 18 Dec 2018 01:46:48 +0300 Subject: [PATCH] add cumulative difficulty to diff command --- src/daemon/rpc_command_executor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 4d3f086a9..875d7b8e1 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -323,6 +323,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;