diff options
author | tobtoht <thotbot@protonmail.com> | 2021-04-22 04:25:20 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-04-22 04:26:17 +0200 |
commit | 445a9d8ba3333fd5e969bc24880280f65d69d173 (patch) | |
tree | d273ea059427fedd97d24a7b9fadef738b6e7a56 /src/wallet/api/wallet2_api.h | |
parent | Revert "Merge pull request #7136" (diff) | |
download | monero-445a9d8ba3333fd5e969bc24880280f65d69d173.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; |