add cumulative difficulty to diff command

release-v0.5.1^2
wowario 5 years ago
parent 9b19be69a1
commit 3cfc60d416
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -324,6 +324,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;

Loading…
Cancel
Save