mirror of
https://github.com/monero-project/monero.git
synced 2025-05-05 00:24:58 -04:00
print top block hash in daemon diff command
and add top block hash in get_info RPC
This commit is contained in:
parent
f7d41d6e28
commit
0ab56b80db
3 changed files with 11 additions and 1 deletions
|
@ -241,6 +241,7 @@ bool t_rpc_command_executor::show_difficulty() {
|
|||
}
|
||||
|
||||
tools::success_msg_writer() << "BH: " << res.height
|
||||
<< ", TH: " << res.top_block_hash
|
||||
<< ", DIFF: " << res.difficulty
|
||||
<< ", HR: " << (int) res.difficulty / res.target << " H/s";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue