Merge pull request #136 from wowario/cumulative_difficulty

add cumulative difficulty to diff command
This commit is contained in:
jw 2018-12-17 17:25:46 -08:00 committed by GitHub
commit 48ef3ff466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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