nonoise₿itcoin

BTC: $111,568.00

Why is KnapsackSolver still in Bitcoin Core?

Question

Of all the coin selection strategies implemented by Bitcoin Core, KnapsackSolver seems like the least useful. I can't think of any reason to not prefer using BnB and falling back to SRD if BnB fails to find a solution. Is it maintained for historic purposes? I notice it seems to descend from the first SelectCoins function in the initial release as tracked by git. Are there plans to improve it or deprecate KnapsackSolver in the future?

No answers available yet.

Trending Questions - Bitcoin Stack Exchange | 2025-10-25T15:30:44.000Z | By yancy
Read Original ← Back to Home