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/api/wallet.h | |
| parent | 8bd2c2e551fe36ff6f9fee985d78784fb04ec146 (diff) | |
| parent | 1d3179816be78240688a0cf05f4040b7fd790a4e (diff) | |
| download | monzero-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.h | 3 |
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; |
