aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-03-09 20:51:22 -0500
committerAndrew Chow <achow101-github@achow101.com>2018-03-09 21:15:40 -0500
commitf84fed8eb6a8518a54a997044e55332dd37e223d (patch)
tree265072d9414c7fc3e7acd4db9f3496b5c1669211
parent12ec29d3bb0d46c61712210fe9bb96a0d543204a (diff)
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
-rw-r--r--src/wallet/wallet.h3
1 files changed, 3 insertions, 0 deletions
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;