mirror of
https://github.com/jwinterm/wownero.git
synced 2026-11-16 09:23:56 +01:00
Merge pull request #1564
1d317981 Wallet API: add key image import/export functions (Jaquee)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user