diff options
author | tobtoht <thotbot@protonmail.com> | 2021-04-22 04:25:20 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-04-22 04:33:11 +0200 |
commit | dedcd6304c49ee177c846ff19af6f68bb24f60bc (patch) | |
tree | 2cab5b872d07a0b2020cb482472f607ba584be9c /src/wallet/api/wallet2_api.h | |
parent | expose set_offline to wallet api (diff) | |
download | monero-dedcd6304c49ee177c846ff19af6f68bb24f60bc.tar.xz |
wallet_api: import / export output function
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 320b458bd..e34332734 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -919,6 +919,19 @@ struct Wallet */ virtual bool importKeyImages(const std::string &filename) = 0; + /*! + * \brief importOutputs - exports outputs to file + * \param filename + * \return - true on success + */ + virtual bool exportOutputs(const std::string &filename, bool all = false) = 0; + + /*! + * \brief importOutputs - imports outputs from file + * \param filename + * \return - true on success + */ + virtual bool importOutputs(const std::string &filename) = 0; virtual TransactionHistory * history() = 0; virtual AddressBook * addressBook() = 0; |