diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-05-30 09:13:52 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-05-30 21:47:56 +0100 |
commit | 3204f0d53642588643312a742d13cc2b1d1e3cd9 (patch) | |
tree | 5db3c8fdadeaf4b3cf96fe36087294dfc1ce2020 /src/simplewallet/simplewallet.h | |
parent | Merge pull request #299 (diff) | |
download | monero-3204f0d53642588643312a742d13cc2b1d1e3cd9.tar.xz |
wallet: add a sweep_dust command
Sends all the dust to your own wallet. May fail (if the fee required
is more than the dust total). May end up paying most of the dust in fees.
Unlocked dust total is now also displayed in "balance".
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r-- | src/simplewallet/simplewallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index de5b3674e..d4ef0703b 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -103,6 +103,7 @@ namespace cryptonote bool show_payments(const std::vector<std::string> &args); bool show_blockchain_height(const std::vector<std::string> &args); bool transfer(const std::vector<std::string> &args); + bool sweep_dust(const std::vector<std::string> &args); std::vector<std::vector<cryptonote::tx_destination_entry>> split_amounts( std::vector<cryptonote::tx_destination_entry> dsts, size_t num_splits ); |