aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-24 12:58:25 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-24 13:00:29 +0000
commitd7354c78649d117f758701de3a326681e16efb23 (patch)
treec59b97765ae4e5401ed7ba2f9bf3b5019e908177 /src/wallet/wallet2.h
parentMerge pull request #4902 (diff)
downloadmonero-d7354c78649d117f758701de3a326681e16efb23.tar.xz
wallet_rpc_server: add all field to export_key_images
To use if you want all key images, not just the ones for recently imported outputs
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index ace01a235..d13eb6460 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1109,7 +1109,7 @@ namespace tools
std::tuple<size_t, crypto::hash, std::vector<crypto::hash>> export_blockchain() const;
void import_blockchain(const std::tuple<size_t, crypto::hash, std::vector<crypto::hash>> &bc);
bool export_key_images(const std::string &filename) const;
- std::pair<size_t, std::vector<std::pair<crypto::key_image, crypto::signature>>> export_key_images() const;
+ std::pair<size_t, std::vector<std::pair<crypto::key_image, crypto::signature>>> export_key_images(bool all = false) const;
uint64_t import_key_images(const std::vector<std::pair<crypto::key_image, crypto::signature>> &signed_key_images, size_t offset, uint64_t &spent, uint64_t &unspent, bool check_spent = true);
uint64_t import_key_images(const std::string &filename, uint64_t &spent, uint64_t &unspent);
bool import_key_images(std::vector<crypto::key_image> key_images);