mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Header row for peer list in sync_info
This commit is contained in:
parent
a1eca8ca7e
commit
46cc4a253b
@ -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() << "Next needed pruning seed: " << res.next_needed_pruning_seed;
|
||||||
|
|
||||||
tools::success_msg_writer() << std::to_string(res.peers.size()) << " peers";
|
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)
|
for (const auto &p: res.peers)
|
||||||
{
|
{
|
||||||
std::string address = epee::string_tools::pad_string(p.info.address, 24);
|
std::string address = epee::string_tools::pad_string(p.info.address, 24);
|
||||||
|
Loading…
Reference in New Issue
Block a user