aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-01-10 15:25:29 +0000
committerxiphon <xiphon@protonmail.com>2020-01-14 22:56:23 +0000
commitffe7165ebfbb805b3bba57de8cb3f14d0b3411a0 (patch)
treea214cae4b1ef2736fd35b5d641f39cce741d6baa /src/wallet/wallet2.h
parentMerge pull request #6253 (diff)
downloadmonero-ffe7165ebfbb805b3bba57de8cb3f14d0b3411a0.tar.xz
wallet: reroll fake outs selection on local tx_sanity_check failure
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h1
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;