add cumulative difficulty to diff command

This commit is contained in:
wowario 2019-05-30 11:57:21 +03:00
parent 5fbfa8a656
commit cd720c7e0b
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 1 additions and 0 deletions

View File

@ -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;