aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-31 14:25:04 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:30:04 +0100
commit2c9d9519f1d9717326067735e88a28bb5977616c (patch)
treea7078582be649abcd803aa6357e49bb5ea3ad6dc /src/wallet/wallet2.h
parentwallet: always use new algorithm for RPC transfers (diff)
downloadmonero-2c9d9519f1d9717326067735e88a28bb5977616c.tar.xz
wallet2: factor m_spent changes
Makes it easier to track what is going on.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index e3df68bb8..4c361df81 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -460,6 +460,8 @@ namespace tools
uint64_t sanitize_fee_multiplier(uint64_t fee_multiplier) const;
float get_output_relatedness(const transfer_details &td0, const transfer_details &td1) const;
std::vector<size_t> pick_prefered_rct_inputs(uint64_t needed_money) const;
+ void set_spent(transfer_details &td, uint64_t height);
+ void set_unspent(transfer_details &td);
cryptonote::account_base m_account;
std::string m_daemon_address;