diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-12-20 17:44:47 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-12-20 17:44:47 +0200 |
| commit | f5176cb6e86e578fa866463638d56b3c6b145e4d (patch) | |
| tree | be50063b61b1989ae140528959d7441ef4465050 /src/daemon/command_server.cpp | |
| parent | 1551ce98f24e80fe9d1c94149bb564e898b4d14e (diff) | |
| parent | 55fa0479a0db599d81500e57e355124f1fb9c05e (diff) | |
| download | monzero-core-f5176cb6e86e578fa866463638d56b3c6b145e4d.tar.gz monzero-core-f5176cb6e86e578fa866463638d56b3c6b145e4d.tar.xz monzero-core-f5176cb6e86e578fa866463638d56b3c6b145e4d.zip | |
Merge pull request #1467
55fa0479 rpc: new function and RPC to get alternative chain info (moneromooo-monero)
Diffstat (limited to 'src/daemon/command_server.cpp')
| -rw-r--r-- | src/daemon/command_server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index 729b19cbf..88c49d111 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -225,6 +225,11 @@ t_command_server::t_command_server( , std::bind(&t_command_parser_executor::print_coinbase_tx_sum, &m_parser, p::_1) , "Print sum of coinbase transactions (start height, block count)" ); + m_command_lookup.set_handler( + "alt_chain_info" + , std::bind(&t_command_parser_executor::alt_chain_info, &m_parser, p::_1) + , "Print information about alternative chains" + ); } bool t_command_server::process_command_str(const std::string& cmd) |
