diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-17 11:20:44 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-17 11:20:44 +0100 |
| commit | b0c18ef9cdb7f0481c176f50aec1d31cb3f97830 (patch) | |
| tree | 07a2f740076b5e8245a551022d0eaf70e15d0d8b | |
| parent | 1c66fe04bcebf50102abe6c96322f0fa5ce740ec (diff) | |
| download | monzero-core-b0c18ef9cdb7f0481c176f50aec1d31cb3f97830.tar.gz monzero-core-b0c18ef9cdb7f0481c176f50aec1d31cb3f97830.tar.xz monzero-core-b0c18ef9cdb7f0481c176f50aec1d31cb3f97830.zip | |
wallet2: move output selection api public
| -rw-r--r-- | src/wallet/wallet2.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 179d1553e..93bd168e5 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -364,6 +364,12 @@ namespace tools std::string get_wallet_file() const; std::string get_keys_file() const; + + std::vector<size_t> select_available_outputs_from_histogram(uint64_t count, bool atleast, bool trusted_daemon); + std::vector<size_t> select_available_outputs(const std::function<bool(const transfer_details &td)> &f); + std::vector<size_t> select_available_unmixable_outputs(bool trusted_daemon); + std::vector<size_t> select_available_mixable_outputs(bool trusted_daemon); + private: /*! * \brief Stores wallet information to wallet file. @@ -403,10 +409,6 @@ namespace tools uint64_t get_upper_tranaction_size_limit(); void check_pending_txes(); std::vector<uint64_t> get_unspent_amounts_vector(); - std::vector<size_t> select_available_outputs_from_histogram(uint64_t count, bool atleast, bool trusted_daemon); - std::vector<size_t> select_available_outputs(const std::function<bool(const transfer_details &td)> &f); - std::vector<size_t> select_available_unmixable_outputs(bool trusted_daemon); - std::vector<size_t> select_available_mixable_outputs(bool trusted_daemon); cryptonote::account_base m_account; std::string m_daemon_address; |
