diff options
| author | Andrew Chow <[email protected]> | 2018-03-10 00:39:29 -0500 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-03-13 12:39:26 -0400 |
| commit | cd927ff3283fc23a5f42c178e10bcaf5409bb7ea (patch) | |
| tree | 8b33dfcc7ad4775ffd8e7d9dd852acbe901667bc /src/wallet/wallet.cpp | |
| parent | Move current coin selection algorithm to coinselection.{cpp,h} (diff) | |
| download | discoin-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.cpp | 9 |
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)); |