diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-16 21:31:39 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-16 21:31:40 +0200 |
commit | 00090aae7fff39c4adf4b8c91d072f37ff3ea568 (patch) | |
tree | fb89da1ba720590571d52950dc9f92f3e0d3f657 /src/wallet/wallet2.h | |
parent | Merge pull request #5009 (diff) | |
parent | wallet_rpc_server: add all field to export_key_images (diff) | |
download | monero-00090aae7fff39c4adf4b8c91d072f37ff3ea568.tar.xz |
Merge pull request #5012
d7354c78 wallet_rpc_server: add all field to export_key_images (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-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 5b1988080..c15c709ca 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1113,7 +1113,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); |