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
This commit is contained in:
Andrew Chow 2018-03-09 20:51:22 -05:00
parent 12ec29d3bb
commit f84fed8eb6

View file

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