diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-06-16 14:01:12 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-16 14:01:12 -0500 |
| commit | 42e7f31613385591e5aa5b84ca71fd49636f184f (patch) | |
| tree | 86edb44d450c2c8e96860a537f2590a91142f2f7 /src/daemon/rpc_command_executor.cpp | |
| parent | 53b5d03b82818bdf5569768a7f6bc236fa72736c (diff) | |
| parent | d9d002c3c1ed43a26f8d1227518d2af17625580b (diff) | |
| download | monzero-core-42e7f31613385591e5aa5b84ca71fd49636f184f.tar.gz monzero-core-42e7f31613385591e5aa5b84ca71fd49636f184f.tar.xz monzero-core-42e7f31613385591e5aa5b84ca71fd49636f184f.zip | |
Merge pull request #3725
9cc0d42 connection_context: remove state_ prefix from state names (moneromooo-monero)
d9d002c daemon: print peer state in sync_info (moneromooo-monero)
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
| -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 487853441..8735f5463 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -1895,7 +1895,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 << " " << epee::string_tools::pad_string(p.info.peer_id, 16, '0', true) << " " << p.info.height << " " << p.info.current_download << " kB/s, " << nblocks << " blocks / " << size/1e6 << " MB queued"; + tools::success_msg_writer() << address << " " << epee::string_tools::pad_string(p.info.peer_id, 16, '0', true) << " " << epee::string_tools::pad_string(p.info.state, 16) << " " << p.info.height << " " << p.info.current_download << " kB/s, " << nblocks << " blocks / " << size/1e6 << " MB queued"; } uint64_t total_size = 0; |
