From 40a68e22fadda6ab767d9ff8ec9b9b1b4c730125 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 8 Nov 2016 20:03:07 +0000 Subject: wallet2_api: add API for create_unmixable_sweep_transactions --- src/wallet/wallet2_api.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/wallet/wallet2_api.h') diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index 8427ba250..55aa3112f 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -323,6 +323,14 @@ struct Wallet uint64_t amount, uint32_t mixin_count, PendingTransaction::Priority = PendingTransaction::Priority_Low) = 0; + /*! + * \brief createSweepUnmixableTransaction creates transaction with unmixable outputs. + * \return PendingTransaction object. caller is responsible to check PendingTransaction::status() + * after object returned + */ + + virtual PendingTransaction * createSweepUnmixableTransaction() = 0; + /*! * \brief disposeTransaction - destroys transaction object * \param t - pointer to the "PendingTransaction" object. Pointer is not valid after function returned; -- cgit v1.2.3