diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-07-02 19:41:41 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-07-02 19:42:28 +0000 |
commit | 8be5fea1dedfa844afca365d11136e7cc95d5e31 (patch) | |
tree | c3e0016d9eea2efb52cced856891700dcdd4e929 /src/wallet/wallet2.h | |
parent | Merge pull request #5641 (diff) | |
download | monero-8be5fea1dedfa844afca365d11136e7cc95d5e31.tar.xz |
simplewallet: optional all flag to export_outputs/export_key_images
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 921c150cb..8e4a5d58f 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1173,7 +1173,7 @@ private: void import_payments_out(const std::list<std::pair<crypto::hash,wallet2::confirmed_transfer_details>> &confirmed_payments); 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; + bool export_key_images(const std::string &filename, bool all = false) 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); |