aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-24 11:54:49 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-24 11:54:49 +0200
commitbc8d3252169f55bbe40df247fb39143fab5bb6f0 (patch)
tree75c56ef87230ab8d68d9cb0d30c458d6dd51724a /src/daemon/command_parser_executor.cpp
parentd666339853393870dd3f39155d289cf1ed8962a7 (diff)
parent3bdda60f3ecc92f33bab4d65c8d348dda9acc9dd (diff)
downloadmonzero-core-bc8d3252169f55bbe40df247fb39143fab5bb6f0.tar.gz
monzero-core-bc8d3252169f55bbe40df247fb39143fab5bb6f0.tar.xz
monzero-core-bc8d3252169f55bbe40df247fb39143fab5bb6f0.zip
Merge pull request #1777
3bdda60f Add print_pl_stats daemon command (Miguel Herranz)
Diffstat (limited to 'src/daemon/command_parser_executor.cpp')
-rw-r--r--src/daemon/command_parser_executor.cpp7
1 files changed, 7 insertions, 0 deletions
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<std::string>&
return m_executor.print_peer_list();
}
+bool t_command_parser_executor::print_peer_list_stats(const std::vector<std::string>& args)
+{
+ if (!args.empty()) return false;
+
+ return m_executor.print_peer_list_stats();
+}
+
bool t_command_parser_executor::save_blockchain(const std::vector<std::string>& args)
{
if (!args.empty()) return false;