diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-08-11 10:49:15 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-08-11 10:52:41 +0100 |
commit | 83bbea4c7f47d05933ec1b5baca2e9724561e49c (patch) | |
tree | acc999b802091f32227e66e677ae483398fe1d93 /src/daemon/command_server.cpp | |
parent | blockchain: remove dead code (diff) | |
download | monero-83bbea4c7f47d05933ec1b5baca2e9724561e49c.tar.xz |
Add a is_key_image_spent daemon command and RPC call
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 65bceff75..047b52c3e 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -85,6 +85,11 @@ t_command_server::t_command_server( , "Print transaction, print_tx <transaction_hash>" ); m_command_lookup.set_handler( + "is_key_image_spent" + , std::bind(&t_command_parser_executor::is_key_image_spent, &m_parser, p::_1) + , "Prints whether a given key image is in the spent key images set, is_key_image_spent <key_image>" + ); + m_command_lookup.set_handler( "start_mining" , std::bind(&t_command_parser_executor::start_mining, &m_parser, p::_1) , "Start mining for specified address, start_mining <addr> [threads=1]" |