aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-10-23 19:25:33 +0200
committerRiccardo Spagni <ric@spagni.net>2016-10-23 19:25:33 +0200
commita0975e59edc39aad388e240d45b4ed1ea4a6c169 (patch)
treefa9cbd5ab25127f2fc50a75e4ed3cc1f72fc7cf0 /src/daemon/command_parser_executor.cpp
parent854abeb3bbdb1b9399309297a533be09442faa40 (diff)
parent839280d5fc245cae101b07f3106c4b0031dd5941 (diff)
downloadmonzero-core-a0975e59edc39aad388e240d45b4ed1ea4a6c169.tar.gz
monzero-core-a0975e59edc39aad388e240d45b4ed1ea4a6c169.tar.xz
monzero-core-a0975e59edc39aad388e240d45b4ed1ea4a6c169.zip
Merge pull request #1250
839280d daemon: add a print_pool_stats daemon command (moneromooo-monero)
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 5d7ed6cc0..88b77f76d 100644
--- a/src/daemon/command_parser_executor.cpp
+++ b/src/daemon/command_parser_executor.cpp
@@ -222,6 +222,13 @@ bool t_command_parser_executor::print_transaction_pool_short(const std::vector<s
return m_executor.print_transaction_pool_short();
}
+bool t_command_parser_executor::print_transaction_pool_stats(const std::vector<std::string>& args)
+{
+ if (!args.empty()) return false;
+
+ return m_executor.print_transaction_pool_stats();
+}
+
bool t_command_parser_executor::start_mining(const std::vector<std::string>& args)
{
if(!args.size())