define sweepDust(doNotRelay)

This commit is contained in:
woodser
2019-07-05 21:27:35 -04:00
parent fd054ee96c
commit 09a88903f0
2 changed files with 13 additions and 8 deletions
+5
View File
@@ -1430,6 +1430,11 @@ namespace monero {
return txs[0];
}
vector<shared_ptr<MoneroTxWallet>> MoneroWallet::sweepDust(bool doNotRelay) {
cout << "MoneroWallet::sweepDust()" << endl;
throw runtime_error("Not implemented");
}
vector<string> MoneroWallet::relayTxs(const vector<string>& txMetadatas) {
cout << "relayTxs()" << endl;
+8 -8
View File
@@ -748,14 +748,14 @@ namespace monero {
// * @return the resulting transactions from sweeping dust
// */
// public List<MoneroTxWallet> 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<MoneroTxWallet> 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<shared_ptr<MoneroTxWallet>> sweepDust(bool doNotRelay = false);
//
// /**
// * Relay a transaction previously created without relaying.