aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-09-19 16:34:29 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-09-19 16:47:48 +0100
commite546f3724aeb91e72df263c27780a4d149b0a92a (patch)
tree76b560fca57fedc410af0d6e3cdec526fc8ed420 /src/daemon/command_server.cpp
parentblockchain: force a hardfork recalculation at load time (diff)
downloadmonero-e546f3724aeb91e72df263c27780a4d149b0a92a.tar.xz
Add an RPC call and daemon command to get info on hard fork voting
Diffstat (limited to '')
-rw-r--r--src/daemon/command_server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp
index 047b52c3e..446379558 100644
--- a/src/daemon/command_server.cpp
+++ b/src/daemon/command_server.cpp
@@ -184,6 +184,11 @@ t_command_server::t_command_server(
, std::bind(&t_command_parser_executor::stop_save_graph, &m_parser, p::_1)
, "Stop save data for dr monero"
);
+ m_command_lookup.set_handler(
+ "hard_fork_info"
+ , std::bind(&t_command_parser_executor::hard_fork_info, &m_parser, p::_1)
+ , "Print hard fork voting information"
+ );
}
bool t_command_server::process_command_str(const std::string& cmd)