diff options
author | Andrew Chow <achow101-github@achow101.com> | 2018-03-05 16:29:37 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2018-03-13 12:39:17 -0400 |
commit | 0185939be6f7c5554b864e33657ce610fd434e18 (patch) | |
tree | 638323d15efce6c4768ea6c79d41ab3cd1a50925 /src/wallet/wallet.h | |
parent | f84fed8eb6a8518a54a997044e55332dd37e223d (diff) |
Implement Branch and Bound coin selection in a new file
Create a new file for coin selection logic and implement the BnB algorithm in it.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 89dc4f399c..a2fab3c88e 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -509,6 +509,7 @@ public: outpoint = COutPoint(walletTx->GetHash(), i); txout = walletTx->tx->vout[i]; + effective_value = txout.nValue; } COutPoint outpoint; |