diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-13 15:59:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-13 15:59:30 +0200 |
commit | 70495665f95cd453f2fc89d2ec5f7c2643e79f14 (patch) | |
tree | 653a9b70c681221108414a0a9243eab8b19f204f /src/daemon | |
parent | Merge pull request #2271 (diff) | |
parent | daemon: print peers' top height in sync_info (diff) | |
download | monero-70495665f95cd453f2fc89d2ec5f7c2643e79f14.tar.xz |
Merge pull request #2284
2ec15a69 daemon: print peers' top height in sync_info (moneromooo-monero)
08abb670 protocol: fix reorgs while syncing (moneromooo-monero)
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 34d87d282..995fee484 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -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; |