aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2018-03-10 00:39:29 -0500
committerAndrew Chow <[email protected]>2018-03-13 12:39:26 -0400
commitcd927ff3283fc23a5f42c178e10bcaf5409bb7ea (patch)
tree8b33dfcc7ad4775ffd8e7d9dd852acbe901667bc /src/wallet/wallet.cpp
parentMove current coin selection algorithm to coinselection.{cpp,h} (diff)
downloaddiscoin-cd927ff3283fc23a5f42c178e10bcaf5409bb7ea.tar.xz
discoin-cd927ff3283fc23a5f42c178e10bcaf5409bb7ea.zip
Move original knapsack solver tests to coinselector_tests.cpp
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index ae882d7bd..37e071d99 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -69,15 +69,6 @@ const uint256 CMerkleTx::ABANDON_HASH(uint256S("00000000000000000000000000000000
* @{
*/
-struct CompareValueOnly
-{
- bool operator()(const CInputCoin& t1,
- const CInputCoin& t2) const
- {
- return t1.txout.nValue < t2.txout.nValue;
- }
-};
-
std::string COutput::ToString() const
{
return strprintf("COutput(%s, %d, %d) [%s]", tx->GetHash().ToString(), i, nDepth, FormatMoney(tx->tx->vout[i].nValue));