mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 20:19:34 +00:00
Merge pull request #5588
cd720c7
add cumulative difficulty to diff command (wowario)
This commit is contained in:
commit
96cda93a93
1 changed files with 1 additions and 0 deletions
|
@ -338,6 +338,7 @@ bool t_rpc_command_executor::show_difficulty() {
|
||||||
tools::success_msg_writer() << "BH: " << res.height
|
tools::success_msg_writer() << "BH: " << res.height
|
||||||
<< ", TH: " << res.top_block_hash
|
<< ", TH: " << res.top_block_hash
|
||||||
<< ", DIFF: " << res.difficulty
|
<< ", DIFF: " << res.difficulty
|
||||||
|
<< ", CUM_DIFF: " << res.cumulative_difficulty
|
||||||
<< ", HR: " << res.difficulty / res.target << " H/s";
|
<< ", HR: " << res.difficulty / res.target << " H/s";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue