aboutsummaryrefslogtreecommitdiff
path: root/src/bench/lockedpool.cpp
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-03-05 16:42:49 -0500
committerAndrew Chow <achow101-github@achow101.com>2018-03-13 12:39:27 -0400
commit6a34ff5335786615771ca423134a484b04831c4e (patch)
treeed5aaec39589b9ac50272d0844bd0c19e564ccc2 /src/bench/lockedpool.cpp
parentfab04887c22cf71a4b15ac0b0a127e150229d686 (diff)
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/bench/lockedpool.cpp')
0 files changed, 0 insertions, 0 deletions