wallet: new {ex,im}port_key_images commands and RPC calls

They are used to export a signed set of key images from a wallet
with a private spend key, so an auditor with the matching view key
may see which of those are spent, and which are not.
This commit is contained in:
moneromooo-monero
2016-07-15 12:11:55 +01:00
parent 47618c2710
commit ebf97d76f0
8 changed files with 364 additions and 1 deletions
+2
View File
@@ -145,6 +145,8 @@ namespace cryptonote
bool set_default_fee_multiplier(const std::vector<std::string> &args);
bool sign(const std::vector<std::string> &args);
bool verify(const std::vector<std::string> &args);
bool export_key_images(const std::vector<std::string> &args);
bool import_key_images(const std::vector<std::string> &args);
uint64_t get_daemon_blockchain_height(std::string& err);
bool try_connect_to_daemon(bool silent = false);