diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-01-15 14:46:51 -0500 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-01-15 14:46:52 -0500 |
commit | 865f5bef345a341e3eb27ac29339994de7446476 (patch) | |
tree | 086bb6b137564b7055ea6576eef5e2644d16ea7e /src/wallet/wallet2_api.h | |
parent | Merge pull request #1563 (diff) | |
parent | Wallet API: add key image import/export functions (diff) | |
download | monero-865f5bef345a341e3eb27ac29339994de7446476.tar.xz |
Merge pull request #1564
1d317981 Wallet API: add key image import/export functions (Jaquee)
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index 7a6c07732..5a13205c5 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -513,6 +513,21 @@ struct Wallet */ virtual void disposeTransaction(PendingTransaction * t) = 0; + /*! + * \brief exportKeyImages - exports key images to file + * \param filename + * \return - true on success + */ + virtual bool exportKeyImages(const std::string &filename) = 0; + + /*! + * \brief importKeyImages - imports key images from file + * \param filename + * \return - true on success + */ + virtual bool importKeyImages(const std::string &filename) = 0; + + virtual TransactionHistory * history() const = 0; virtual AddressBook * addressBook() const = 0; virtual void setListener(WalletListener *) = 0; |