diff options
| author | Andrew Chow <[email protected]> | 2018-07-31 11:31:07 -0700 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-07-31 11:31:07 -0700 |
| commit | 494634a052aa760f04273af48a6475a7956d29ee (patch) | |
| tree | bc3c6ef623a0d48f7687ff80e8e240742875851e /src/bench/coin_selection.cpp | |
| parent | Merge #13799: Ignore unknown config file options; warn instead of error (diff) | |
| download | discoin-494634a052aa760f04273af48a6475a7956d29ee.tar.xz discoin-494634a052aa760f04273af48a6475a7956d29ee.zip | |
bench: Make CoinSelection output groups pass eligibility filter
Set the depth of the output groups used in the CoinSelection benchmark
to be 6 in order to pass the eligibility filter for the benchmark.
Diffstat (limited to 'src/bench/coin_selection.cpp')
| -rw-r--r-- | src/bench/coin_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp index 7510d53c8..20013d702 100644 --- a/src/bench/coin_selection.cpp +++ b/src/bench/coin_selection.cpp @@ -21,7 +21,7 @@ static void addCoin(const CAmount& nValue, const CWallet& wallet, std::vector<Ou int nAge = 6 * 24; COutput output(wtx, nInput, nAge, true /* spendable */, true /* solvable */, true /* safe */); - groups.emplace_back(output.GetInputCoin(), 0, false, 0, 0); + groups.emplace_back(output.GetInputCoin(), 6, false, 0, 0); } // Simple benchmark for wallet coin selection. Note that it maybe be necessary |