aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-15 14:46:51 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-15 14:46:52 -0500
commit865f5bef345a341e3eb27ac29339994de7446476 (patch)
tree086bb6b137564b7055ea6576eef5e2644d16ea7e /src/wallet/api/wallet.h
parent8bd2c2e551fe36ff6f9fee985d78784fb04ec146 (diff)
parent1d3179816be78240688a0cf05f4040b7fd790a4e (diff)
downloadmonzero-core-865f5bef345a341e3eb27ac29339994de7446476.tar.gz
monzero-core-865f5bef345a341e3eb27ac29339994de7446476.tar.xz
monzero-core-865f5bef345a341e3eb27ac29339994de7446476.zip
Merge pull request #1564
1d317981 Wallet API: add key image import/export functions (Jaquee)
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h
index df66f428d..e26f30d70 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;