mirror of
https://github.com/monero-project/monero.git
synced 2025-07-25 10:15:21 -04:00
Merge pull request #5190
551104fb
daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
This commit is contained in:
commit
848591c4d8
20 changed files with 147 additions and 30 deletions
|
@ -61,8 +61,9 @@ namespace {
|
|||
peer_id_str >> id_str;
|
||||
epee::string_tools::xtype_to_string(peer.port, port_str);
|
||||
std::string addr_str = ip_str + ":" + port_str;
|
||||
std::string rpc_port = peer.rpc_port ? std::to_string(peer.rpc_port) : "-";
|
||||
std::string pruning_seed = epee::string_tools::to_string_hex(peer.pruning_seed);
|
||||
tools::msg_writer() << boost::format("%-10s %-25s %-25s %-4s %s") % prefix % id_str % addr_str % pruning_seed % elapsed;
|
||||
tools::msg_writer() << boost::format("%-10s %-25s %-25s %-5s %-4s %s") % prefix % id_str % addr_str % rpc_port % pruning_seed % elapsed;
|
||||
}
|
||||
|
||||
void print_block_header(cryptonote::block_header_response const & header)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue