mirror of
https://github.com/monero-project/monero.git
synced 2025-05-04 20:45:01 -04:00
daemon: print peers' top height in sync_info
This commit is contained in:
parent
08abb670e1
commit
2ec15a6931
3 changed files with 8 additions and 2 deletions
|
@ -1742,7 +1742,7 @@ bool t_rpc_command_executor::sync_info()
|
|||
for (const auto &s: res.spans)
|
||||
if (s.rate > 0.0f && s.connection_id == p.info.connection_id)
|
||||
nblocks += s.nblocks, size += s.size;
|
||||
tools::success_msg_writer() << address << " " << p.info.peer_id << " " << p.info.current_download << " kB/s, " << nblocks << " blocks / " << size/1e6 << " MB queued";
|
||||
tools::success_msg_writer() << address << " " << p.info.peer_id << " " << p.info.height << " " << p.info.current_download << " kB/s, " << nblocks << " blocks / " << size/1e6 << " MB queued";
|
||||
}
|
||||
|
||||
uint64_t total_size = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue