Merge pull request #5588

cd720c7 add cumulative difficulty to diff command (wowario)
This commit is contained in:
luigi1111 2019-07-24 14:20:12 -05:00
commit 96cda93a93
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

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