mirror of
https://github.com/monero-project/monero.git
synced 2025-12-25 20:34:36 -08:00
Add a is_key_image_spent daemon command and RPC call
This commit is contained in:
@@ -84,6 +84,11 @@ t_command_server::t_command_server(
|
||||
, std::bind(&t_command_parser_executor::print_transaction, &m_parser, p::_1)
|
||||
, "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)
|
||||
|
||||
Reference in New Issue
Block a user