aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-25 21:18:03 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-25 21:36:46 +0000
commit9caf52bf5a282bda0b70d8fdc6e39f74883e7043 (patch)
tree80463776e11d010234a28c67e8185f9ef2d8cc62 /src/daemon/command_parser_executor.h
parentMerge pull request #437 (diff)
downloadmonero-9caf52bf5a282bda0b70d8fdc6e39f74883e7043.tar.xz
daemon: add a status command
Displays current block height and target, net hash, hard fork basic info, and connections. Useful as a basic user friendly "what's going on here" command.
Diffstat (limited to 'src/daemon/command_parser_executor.h')
-rw-r--r--src/daemon/command_parser_executor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/command_parser_executor.h b/src/daemon/command_parser_executor.h
index f900c72bd..f00fbd77e 100644
--- a/src/daemon/command_parser_executor.h
+++ b/src/daemon/command_parser_executor.h
@@ -63,6 +63,8 @@ public:
bool show_difficulty(const std::vector<std::string>& args);
+ bool show_status(const std::vector<std::string>& args);
+
bool print_connections(const std::vector<std::string>& args);
bool print_blockchain_info(const std::vector<std::string>& args);