diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-01-15 14:55:40 -0500 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-01-15 14:55:40 -0500 |
commit | 9cda94d0aa648950a78d93db1fed7349ed777ab3 (patch) | |
tree | 2905605366acca7e8718aed635868531f6d0fbf5 /src/wallet/wallet2.h | |
parent | Merge pull request #1573 (diff) | |
parent | wallet2: use at least two rct inputs if possible (diff) | |
download | monero-9cda94d0aa648950a78d93db1fed7349ed777ab3.tar.xz |
Merge pull request #1574
d276a165 wallet2: use at least two rct inputs if possible (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 2c93b4d17..5a569950f 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -527,8 +527,8 @@ namespace tools std::vector<size_t> select_available_unmixable_outputs(bool trusted_daemon); std::vector<size_t> select_available_mixable_outputs(bool trusted_daemon); - size_t pop_best_value_from(const transfer_container &transfers, std::vector<size_t> &unused_dust_indices, const std::list<size_t>& selected_transfers) const; - size_t pop_best_value(std::vector<size_t> &unused_dust_indices, const std::list<size_t>& selected_transfers) const; + size_t pop_best_value_from(const transfer_container &transfers, std::vector<size_t> &unused_dust_indices, const std::list<size_t>& selected_transfers, bool smallest = false) const; + size_t pop_best_value(std::vector<size_t> &unused_dust_indices, const std::list<size_t>& selected_transfers, bool smallest = false) const; void set_tx_note(const crypto::hash &txid, const std::string ¬e); std::string get_tx_note(const crypto::hash &txid) const; |