From f84fed8eb6a8518a54a997044e55332dd37e223d Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Fri, 9 Mar 2018 20:51:22 -0500 Subject: Store effective value, fee, and long term fee in CInputCoin Have CInputCOin store effective value information. This includes the effective value itself, the fee, and the long term fee for the input --- src/wallet/wallet.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wallet/wallet.h') diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index fbb87353c1..89dc4f399c 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -513,6 +513,9 @@ public: COutPoint outpoint; CTxOut txout; + CAmount effective_value; + CAmount fee = 0; + CAmount long_term_fee = 0; bool operator<(const CInputCoin& rhs) const { return outpoint < rhs.outpoint; -- cgit v1.2.3