aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorbenevanoff <benjaminevanoff99@gmail.com>2020-12-25 00:40:50 -0600
committerbenevanoff <benjaminevanoff99@gmail.com>2020-12-25 00:40:50 -0600
commit50ff1066f54f29acd672d6d2c990a796364c913e (patch)
tree27769efbb722f2a641b74f775b9e9da10faa8578 /src/wallet/api/wallet2_api.h
parentMerge pull request #7151 (diff)
downloadmonero-50ff1066f54f29acd672d6d2c990a796364c913e.tar.xz
wallet api: allow wallet to fetch all key images via api
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet2_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index 44928a422..b40b6763f 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -901,9 +901,10 @@ struct Wallet
/*!
* \brief exportKeyImages - exports key images to file
* \param filename
+ * \param all - export all key images or only those that have not yet been exported
* \return - true on success
*/
- virtual bool exportKeyImages(const std::string &filename) = 0;
+ virtual bool exportKeyImages(const std::string &filename, bool all = false) = 0;
/*!
* \brief importKeyImages - imports key images from file