aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-10 13:52:10 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-10 13:52:10 +0300
commit3ac20a46b38f88757c57cbcf8581cade312b7936 (patch)
treea442c13e8f4de56556c522a235196f81e3271f5a /src/wallet/wallet2_api.h
parentWallet::filename, Wallet::keysFilename, tests for move wallet (diff)
downloadmonero-3ac20a46b38f88757c57cbcf8581cade312b7936.tar.xz
wallet::default_mixin exposed to public interface as
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2_api.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index bf5ddc3c7..62231820b 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -167,6 +167,16 @@ struct Wallet
virtual void disposeTransaction(PendingTransaction * t) = 0;
virtual TransactionHistory * history() const = 0;
virtual void setListener(WalletListener *) = 0;
+ /*!
+ * \brief defaultMixin - returns number of mixins used in transactions
+ * \return
+ */
+ virtual uint32_t defaultMixin() const = 0;
+ /*!
+ * \brief setDefaultMixin - setum number of mixins to be used for new transactions
+ * \param arg
+ */
+ virtual void setDefaultMixin(uint32_t arg) = 0;
};
/**