Skip to content

Commit f84fed8

Browse files
committed
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
1 parent 12ec29d commit f84fed8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/wallet/wallet.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,9 @@ class CInputCoin {
513513

514514
COutPoint outpoint;
515515
CTxOut txout;
516+
CAmount effective_value;
517+
CAmount fee = 0;
518+
CAmount long_term_fee = 0;
516519

517520
bool operator<(const CInputCoin& rhs) const {
518521
return outpoint < rhs.outpoint;

0 commit comments

Comments
 (0)