From 3bdda60f3ecc92f33bab4d65c8d348dda9acc9dd Mon Sep 17 00:00:00 2001 From: Miguel Herranz Date: Thu, 23 Feb 2017 18:20:17 +0100 Subject: Add print_pl_stats daemon command --- src/daemon/command_parser_executor.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/daemon/command_parser_executor.cpp') diff --git a/src/daemon/command_parser_executor.cpp b/src/daemon/command_parser_executor.cpp index 2bb4196af..8daaac611 100644 --- a/src/daemon/command_parser_executor.cpp +++ b/src/daemon/command_parser_executor.cpp @@ -51,6 +51,13 @@ bool t_command_parser_executor::print_peer_list(const std::vector& return m_executor.print_peer_list(); } +bool t_command_parser_executor::print_peer_list_stats(const std::vector& args) +{ + if (!args.empty()) return false; + + return m_executor.print_peer_list_stats(); +} + bool t_command_parser_executor::save_blockchain(const std::vector& args) { if (!args.empty()) return false; -- cgit v1.2.3