diff options
author | Jaquee <jaquee.monero@gmail.com> | 2017-01-13 23:00:03 +0100 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2017-01-13 23:02:20 +0100 |
commit | 1d3179816be78240688a0cf05f4040b7fd790a4e (patch) | |
tree | 729c5d39a6087c2dce660d9519ff8a44d6615713 /src/wallet/api/wallet.h | |
parent | Merge pull request #1562 (diff) | |
download | monero-1d3179816be78240688a0cf05f4040b7fd790a4e.tar.xz |
Wallet API: add key image import/export functions
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r-- | src/wallet/api/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 5b4064e8e..ea8c864ac 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -102,6 +102,8 @@ public: virtual PendingTransaction * createSweepUnmixableTransaction(); bool submitTransaction(const std::string &fileName); virtual UnsignedTransaction * loadUnsignedTx(const std::string &unsigned_filename); + bool exportKeyImages(const std::string &filename); + bool importKeyImages(const std::string &filename); virtual void disposeTransaction(PendingTransaction * t); virtual TransactionHistory * history() const; @@ -127,6 +129,7 @@ private: bool isNewWallet() const; void doInit(const std::string &daemon_address, uint64_t upper_transaction_size_limit); + private: friend class PendingTransactionImpl; friend class UnsignedTransactionImpl; |