wallet_api: import / export output function

This commit is contained in:
tobtoht
2021-04-22 04:26:17 +02:00
committed by selsta
parent e45619e61e
commit 445a9d8ba3
3 changed files with 77 additions and 0 deletions
+13
View File
@@ -919,6 +919,19 @@ struct Wallet
*/
virtual bool importKeyImages(const std::string &filename) = 0;
/*!
* \brief importOutputs - exports outputs to file
* \param filename
* \return - true on success
*/
virtual bool exportOutputs(const std::string &filename, bool all = false) = 0;
/*!
* \brief importOutputs - imports outputs from file
* \param filename
* \return - true on success
*/
virtual bool importOutputs(const std::string &filename) = 0;
virtual TransactionHistory * history() = 0;
virtual AddressBook * addressBook() = 0;