wallet: new import_outputs/export_outputs commands

The intended use is to export outputs from a hot wallet, which
can scan incoming transfers from the network, and import them
in the cold wallet, which can't. The cold wallet can then compute
key images for those outputs, which can then be exported with
export_key_images, etc.
This commit is contained in:
moneromooo-monero
2016-10-30 19:37:09 +00:00
parent 83b0511731
commit bb560dd814
4 changed files with 154 additions and 1 deletions
+2
View File
@@ -152,6 +152,8 @@ namespace cryptonote
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);
bool export_outputs(const std::vector<std::string> &args);
bool import_outputs(const std::vector<std::string> &args);
uint64_t get_daemon_blockchain_height(std::string& err);
bool try_connect_to_daemon(bool silent = false);