Expand description
Rust Bitcoin coin selection library.
Efficient algorithms for choosing an optimal UTXO set.
Modules§
- errors
- Possible returned error types if no match is found.
Structs§
- Weighted
Utxo - Represents the spendable conditions of a
UTXO.
Functions§
- branch_
and_ bound - Deterministic depth first branch and bound search for a changeless solution.
- coin_
grinder - Deterministic Branch and Bound search that minimizes the input weight.
- select_
coins rand - Attempt a match with
branch_and_boundfalling back tosingle_random_draw. - single_
random_ draw rand - Randomized single round selection.