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:
parent
12ec29d3bb
commit
f84fed8eb6
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue