| 108 | } |
| 109 | |
| 110 | static std::string InputAmountsToString(const SelectionResult& selection) |
| 111 | { |
| 112 | return "[" + util::Join(selection.GetInputSet(), " ", [](const auto& input){ return util::ToString(input->txout.nValue);}) + "]"; |
| 113 | } |
| 114 | |
| 115 | static void TestBnBSuccess(std::string test_title, std::vector<OutputGroup>& utxo_pool, const CAmount& selection_target, const std::vector<CAmount>& expected_input_amounts, size_t expected_attempts, const CoinSelectionParams& cs_params = default_cs_params, const int custom_spending_vsize = P2WPKH_INPUT_VSIZE, const int max_selection_weight = MAX_STANDARD_TX_WEIGHT) |
| 116 | { |
no test coverage detected