diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-11 22:32:18 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-25 16:11:28 +0100 |
commit | 740e6533a5ed818a07097255fd91b2b2bf58bc34 (patch) | |
tree | d807cc9cab0e09f7bc3672181ff2c0c43f2b40b8 /src/wallet/wallet2.h | |
parent | Merge pull request #2500 (diff) | |
download | monero-740e6533a5ed818a07097255fd91b2b2bf58bc34.tar.xz |
wallet2: factor some of the tx scanning code
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 971e98351..0ade89376 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -664,6 +664,7 @@ namespace tools crypto::public_key get_tx_pub_key_from_received_outs(const tools::wallet2::transfer_details &td) const; bool should_pick_a_second_output(bool use_rct, size_t n_transfers, const std::vector<size_t> &unused_transfers_indices, const std::vector<size_t> &unused_dust_indices) const; std::vector<size_t> get_only_rct(const std::vector<size_t> &unused_dust_indices, const std::vector<size_t> &unused_transfers_indices) const; + void scan_output(const cryptonote::account_keys &keys, const cryptonote::transaction &tx, const crypto::public_key &tx_pub_key, size_t i, cryptonote::keypair &in_ephemeral, crypto::key_image &ki, uint64_t &money_transfered, uint64_t &amount, int &num_vouts_received, uint64_t &tx_money_got_in_outs, rct::key &mask, std::vector<size_t> &outs); cryptonote::account_base m_account; boost::optional<epee::net_utils::http::login> m_daemon_login; |