aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_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/rpc_command_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 '')
-rw-r--r--src/daemon/rpc_command_executor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h
index 9ad849434..5df089be2 100644
--- a/src/daemon/rpc_command_executor.h
+++ b/src/daemon/rpc_command_executor.h
@@ -73,6 +73,8 @@ public:
bool show_difficulty();
+ bool show_status();
+
bool print_connections();
bool print_blockchain_info(uint64_t start_block_index, uint64_t end_block_index);