diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-01-13 14:38:29 -0500 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-01-13 14:38:29 -0500 |
commit | 2806842200d848b02c2c9c1816dbbc6e4803c923 (patch) | |
tree | 2ceb4a5bd06010450b188361b4396c5ec456d5ac /src/wallet/wallet2.h | |
parent | Merge pull request #1559 (diff) | |
parent | Move key image export/import functions to wallet2 (diff) | |
download | monero-2806842200d848b02c2c9c1816dbbc6e4803c923.tar.xz |
Merge pull request #1562
a081b39c Move key image export/import functions to wallet2 (Jaquee)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 5883102bc..7f25673d6 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -539,8 +539,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(); |