aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-01-13 12:02:13 +0100
committerJaquee <jaquee.monero@gmail.com>2017-01-13 12:49:10 +0100
commita081b39c011bc66dcf66787a2e4f11e305eabc23 (patch)
treed30321d5d6a3365d9564fa6273f16b4e9bc8b8d6 /src/wallet/wallet2.h
parentMerge pull request #1544 (diff)
downloadmonero-a081b39c011bc66dcf66787a2e4f11e305eabc23.tar.xz
Move key image export/import functions to wallet2
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index e1eafbae3..7678e40f8 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -528,8 +528,10 @@ namespace tools
std::vector<tools::wallet2::transfer_details> export_outputs() const;
size_t import_outputs(const std::vector<tools::wallet2::transfer_details> &outputs);
+ bool export_key_images(const std::string filename);
std::vector<std::pair<crypto::key_image, crypto::signature>> export_key_images() const;
uint64_t import_key_images(const std::vector<std::pair<crypto::key_image, crypto::signature>> &signed_key_images, uint64_t &spent, uint64_t &unspent);
+ uint64_t import_key_images(const std::string &filename, uint64_t &spent, uint64_t &unspent);
void update_pool_state();