aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-23 16:23:09 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-23 16:23:09 +0300
commitab61ba0c9b9e39fb73a11e4d38dc5c37e453e6c7 (patch)
treea9bf9b3b2b00bb3bf9e0bd467cc55db24255d724 /src/wallet/wallet2_api.h
parentWalletManager::findWallets: searching by "keys" files instead of (diff)
parentPendingTransactionImpl: pointer->reference (diff)
downloadmonero-ab61ba0c9b9e39fb73a11e4d38dc5c37e453e6c7.tar.xz
Merge branch 'master' of https://github.com/mbg033/bitmonero
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index c0c3d436a..66987e4c5 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -134,6 +134,7 @@ struct Wallet
virtual std::string errorString() const = 0;
virtual bool setPassword(const std::string &password) = 0;
virtual std::string address() const = 0;
+
/*!
* \brief integratedAddress - returns integrated address for current wallet address and given payment_id.
* if passed "payment_id" param is an empty string or not-valid payment id string
@@ -144,6 +145,7 @@ struct Wallet
* \return - 106 characters string representing integrated address
*/
virtual std::string integratedAddress(const std::string &payment_id) const = 0;
+
/*!
* \brief store - stores wallet to file.
* \param path - main filename to store wallet to. additionally stores address file and keys file.
@@ -186,8 +188,10 @@ struct Wallet
* \return PendingTransaction object. caller is responsible to check PendingTransaction::status()
* after object returned
*/
+
virtual PendingTransaction * createTransaction(const std::string &dst_addr, const std::string &payment_id,
uint64_t amount, uint32_t mixin_count) = 0;
+
virtual void disposeTransaction(PendingTransaction * t) = 0;
virtual TransactionHistory * history() const = 0;
virtual void setListener(WalletListener *) = 0;