aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-12 22:00:43 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:29:32 +0100
commit84c82cd775ece99cdf9b042011f7f35a2384e4ac (patch)
tree7052858eb2dfffd8ceea5492e198f2c24af2f211 /src/wallet/wallet2.h
parentrct: use the already defined H where possible (diff)
downloadmonero-84c82cd775ece99cdf9b042011f7f35a2384e4ac.tar.xz
wallet: better tx input selection
We try to avoid related inputs, when possible
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index c45b64822..4bb882d08 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -404,6 +404,9 @@ 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<transfer_container::iterator>& selected_transfers) const;
+ size_t pop_best_value(std::vector<size_t> &unused_dust_indices, const std::list<transfer_container::iterator>& selected_transfers) const;
+
void set_tx_note(const crypto::hash &txid, const std::string &note);
std::string get_tx_note(const crypto::hash &txid) const;