aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-01-17 17:21:36 -0500
committerAndrew Chow <achow101-github@achow101.com>2022-03-23 15:01:39 -0400
commitf6c39c6adb6cbf9c87f04d3d667701905ef5c0a0 (patch)
tree2e11b99d6643591c0e43c9fb2b191032e3674bbd /src/bench
parent70f31f1a81710aa59e95770de9a84bf58cbce1e8 (diff)
downloadbitcoin-f6c39c6adb6cbf9c87f04d3d667701905ef5c0a0.tar.xz
coinselection: Remove CInputCoin
It is no longer needed as everything it was doing is now done by COutput
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/coin_selection.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp
index b332ef9c11..85d8ca774a 100644
--- a/src/bench/coin_selection.cpp
+++ b/src/bench/coin_selection.cpp
@@ -13,7 +13,6 @@
using node::NodeContext;
using wallet::AttemptSelection;
-using wallet::CInputCoin;
using wallet::COutput;
using wallet::CWallet;
using wallet::CWalletTx;
@@ -74,8 +73,6 @@ static void CoinSelection(benchmark::Bench& bench)
});
}
-typedef std::set<CInputCoin> CoinSet;
-
// Copied from src/wallet/test/coinselector_tests.cpp
static void add_coin(const CAmount& nValue, int nInput, std::vector<OutputGroup>& set)
{