diff options
author | Andrew Chow <achow101-github@achow101.com> | 2018-03-05 16:42:49 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2018-03-13 12:39:27 -0400 |
commit | 6a34ff5335786615771ca423134a484b04831c4e (patch) | |
tree | ed5aaec39589b9ac50272d0844bd0c19e564ccc2 /src/wallet/test/wallet_test_fixture.h | |
parent | fab04887c22cf71a4b15ac0b0a127e150229d686 (diff) | |
download | bitcoin-6a34ff5335786615771ca423134a484b04831c4e.tar.xz |
Have SelectCoinsMinConf and SelectCoins use BnB or Knapsack and use it
Allows SelectCoinsMinConf and SelectCoins be able to switch between
using BnB or Knapsack for choosing coins.
Has SelectCoinsMinConf do the preprocessing necessary to support either
BnB or Knapsack. This includes calculating the filtering the effective
values for each input.
Uses BnB in CreateTransaction to find an exact match for the output.
If BnB fails, it will fallback to the Knapsack solver.
Diffstat (limited to 'src/wallet/test/wallet_test_fixture.h')
0 files changed, 0 insertions, 0 deletions