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.
This commit is contained in:
moneromooo-monero 2015-10-25 21:18:03 +00:00
parent 14dd279fe1
commit 9caf52bf5a
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
5 changed files with 71 additions and 0 deletions

View file

@ -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);