mirror of
https://github.com/monero-project/monero.git
synced 2025-12-25 20:34:36 -08:00
New interactive daemon command 'print_net_stats': Global traffic stats
This commit is contained in:
@@ -77,6 +77,11 @@ t_command_server::t_command_server(
|
||||
, std::bind(&t_command_parser_executor::print_connections, &m_parser, p::_1)
|
||||
, "Print the current connections."
|
||||
);
|
||||
m_command_lookup.set_handler(
|
||||
"print_net_stats"
|
||||
, std::bind(&t_command_parser_executor::print_net_stats, &m_parser, p::_1)
|
||||
, "Print network statistics."
|
||||
);
|
||||
m_command_lookup.set_handler(
|
||||
"print_bc"
|
||||
, std::bind(&t_command_parser_executor::print_blockchain_info, &m_parser, p::_1)
|
||||
|
||||
Reference in New Issue
Block a user