From 09a88903f00ef0dc7ba49c2cd5e2e9be626751b9 Mon Sep 17 00:00:00 2001 From: woodser Date: Fri, 5 Jul 2019 21:27:35 -0400 Subject: [PATCH] define sweepDust(doNotRelay) --- src/wallet/MoneroWallet.cpp | 5 +++++ src/wallet/MoneroWallet.h | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/wallet/MoneroWallet.cpp b/src/wallet/MoneroWallet.cpp index d4918a8..3d210ea 100644 --- a/src/wallet/MoneroWallet.cpp +++ b/src/wallet/MoneroWallet.cpp @@ -1430,6 +1430,11 @@ namespace monero { return txs[0]; } + vector> MoneroWallet::sweepDust(bool doNotRelay) { + cout << "MoneroWallet::sweepDust()" << endl; + throw runtime_error("Not implemented"); + } + vector MoneroWallet::relayTxs(const vector& txMetadatas) { cout << "relayTxs()" << endl; diff --git a/src/wallet/MoneroWallet.h b/src/wallet/MoneroWallet.h index 83645a5..70dd66f 100644 --- a/src/wallet/MoneroWallet.h +++ b/src/wallet/MoneroWallet.h @@ -748,14 +748,14 @@ namespace monero { // * @return the resulting transactions from sweeping dust // */ // public List sweepDust(); -// -// /** -// * Sweep all unmixable dust outputs back to the wallet to make them easier to spend and mix. -// * -// * @param doNotRelay specifies if the resulting transaction should not be relayed (defaults to false i.e. relayed) -// * @return the resulting transactions from sweeping dust -// */ -// public List sweepDust(boolean doNotRelay); + + /** + * Sweep all unmixable dust outputs back to the wallet to make them easier to spend and mix. + * + * @param doNotRelay specifies if the resulting transaction should not be relayed (defaults to false i.e. relayed) + * @return the resulting transactions from sweeping dust + */ + vector> sweepDust(bool doNotRelay = false); // // /** // * Relay a transaction previously created without relaying.