diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-05-12 16:53:27 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-05-12 16:53:27 -0500 |
| commit | e505ffef5f5f2f03eb1843b49146e5cd6b732fbf (patch) | |
| tree | d8af508f8c2ec2dc0328a0ae39a8f5546de1d724 /src/wallet/api/wallet2_api.h | |
| parent | c91bd17f90bcd21f9a9c2c9f3861a458a79a6fca (diff) | |
| parent | 445a9d8ba3333fd5e969bc24880280f65d69d173 (diff) | |
| download | monzero-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.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; |
