aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-05-12 16:53:27 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-05-12 16:53:27 -0500
commite505ffef5f5f2f03eb1843b49146e5cd6b732fbf (patch)
treed8af508f8c2ec2dc0328a0ae39a8f5546de1d724 /src/wallet/api/wallet2_api.h
parentc91bd17f90bcd21f9a9c2c9f3861a458a79a6fca (diff)
parent445a9d8ba3333fd5e969bc24880280f65d69d173 (diff)
downloadmonzero-core-e505ffef5f5f2f03eb1843b49146e5cd6b732fbf.tar.gz
monzero-core-e505ffef5f5f2f03eb1843b49146e5cd6b732fbf.tar.xz
monzero-core-e505ffef5f5f2f03eb1843b49146e5cd6b732fbf.zip
Merge pull request #7677
445a9d8 wallet_api: import / export output function (tobtoht)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h13
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;