Add an RPC call and daemon command to get info on hard fork voting

This commit is contained in:
moneromooo-monero
2015-09-19 16:34:29 +01:00
parent d06713199e
commit e546f3724a
13 changed files with 169 additions and 5 deletions

View File

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