From 1d3179816be78240688a0cf05f4040b7fd790a4e Mon Sep 17 00:00:00 2001 From: Jaquee Date: Fri, 13 Jan 2017 23:00:03 +0100 Subject: Wallet API: add key image import/export functions --- src/wallet/api/wallet.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wallet/api/wallet.h') 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; -- cgit v1.2.3