diff options
author | xiphon <xiphon@protonmail.com> | 2020-01-10 15:25:29 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-01-14 22:56:23 +0000 |
commit | ffe7165ebfbb805b3bba57de8cb3f14d0b3411a0 (patch) | |
tree | a214cae4b1ef2736fd35b5d641f39cce741d6baa /src/wallet/wallet2.h | |
parent | Merge pull request #6253 (diff) | |
download | monero-ffe7165ebfbb805b3bba57de8cb3f14d0b3411a0.tar.xz |
wallet: reroll fake outs selection on local tx_sanity_check failure
Diffstat (limited to '')
-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 b6f72c7e1..23f99b1dd 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1435,6 +1435,7 @@ private: bool is_spent(const transfer_details &td, bool strict = true) const; bool is_spent(size_t idx, bool strict = true) const; void get_outs(std::vector<std::vector<get_outs_entry>> &outs, const std::vector<size_t> &selected_transfers, size_t fake_outputs_count); + void get_outs(std::vector<std::vector<get_outs_entry>> &outs, const std::vector<size_t> &selected_transfers, size_t fake_outputs_count, std::vector<uint64_t> &rct_offsets); bool tx_add_fake_output(std::vector<std::vector<tools::wallet2::get_outs_entry>> &outs, uint64_t global_index, const crypto::public_key& tx_public_key, const rct::key& mask, uint64_t real_index, bool unlocked) 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; |