[#wallet-SelectionAlgorithm] = xref:wallet.adoc[wallet]::SelectionAlgorithm :relfileprefix: ../ :mrdocs: Identifies which coin selection algorithm produced a result. == Synopsis Declared in `<wallet/coinselection.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class SelectionAlgorithm : uint8_t; ---- == Members [cols="1,4"] |=== | Name| Description | `BNB` | Branch and bound search for a changeless solution. | `KNAPSACK` | Knapsack‐style approximation, the original fallback algorithm. | `SRD` | Single Random Draw selection. | `CG` | CoinGrinder deterministic search. | `MANUAL` | Coins selected manually by the user. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:wallet/GetAlgorithmName.adoc[`GetAlgorithmName`] | Return the human‐readable name of a selection algorithm. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#