rpc: new function and RPC to get alternative chain info

This commit is contained in:
moneromooo-monero
2016-12-17 11:25:15 +00:00
parent 29735c8f8f
commit 55fa0479a0
10 changed files with 147 additions and 0 deletions

View File

@@ -482,4 +482,15 @@ bool t_command_parser_executor::print_coinbase_tx_sum(const std::vector<std::str
return m_executor.print_coinbase_tx_sum(height, count);
}
bool t_command_parser_executor::alt_chain_info(const std::vector<std::string>& args)
{
if(args.size())
{
std::cout << "No parameters allowed" << std::endl;
return false;
}
return m_executor.alt_chain_info();
}
} // namespace daemonize