print top block hash in daemon diff command

and add top block hash in get_info RPC
This commit is contained in:
moneromooo-monero 2015-12-18 19:56:17 +00:00
parent f7d41d6e28
commit 0ab56b80db
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 11 additions and 1 deletions

View file

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