Merge pull request #7240

46cc4a2 Header row for peer list in sync_info (Denis Goddard)
This commit is contained in:
luigi1111 2021-01-15 23:50:28 -05:00
commit 8cb9f3cd80
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -2275,6 +2275,7 @@ bool t_rpc_command_executor::sync_info()
tools::success_msg_writer() << "Next needed pruning seed: " << res.next_needed_pruning_seed;
tools::success_msg_writer() << std::to_string(res.peers.size()) << " peers";
tools::success_msg_writer() << "Remote Host Peer_ID State Prune_Seed Height DL kB/s, Queued Blocks / MB";
for (const auto &p: res.peers)
{
std::string address = epee::string_tools::pad_string(p.info.address, 24);