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
pull/10637/head
Andrew Chow 7 years ago
parent 12ec29d3bb
commit f84fed8eb6

@ -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;

Loading…
Cancel
Save