Expand description
Rust Bitcoin coin selection library.
Efficient algorithms for choosing an optimal UTXO set.
Traits§
- Weighted
Utxo - Behavior needed for coin-selection.
Functions§
- branch_
and_ bound - Performs a deterministic depth first branch and bound search for a changeless solution.
- select_
coins rand - Attempt a match with
branch_and_boundfalling back tosingle_random_draw. - single_
random_ draw rand - Randomize the input set and select coins until the target is reached.
- single_
random_ draw_ with_ rng rand - Randomize the input set and select coins until the target is reached with RNG.