rust-coinselect 0.1.6

A blockchain-agnostic coin selection library built in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
#![doc = include_str!("../README.md")]

/// Collection of coin selection algorithms including Knapsack, Branch and Bound (BNB), First-In First-Out (FIFO), Single-Random-Draw (SRD), and Lowest Larger
pub mod algorithms;
/// Wrapper API that runs all coin selection algorithms in parallel and returns the result with lowest waste
pub mod selectcoin;
/// Core types and structs used throughout the library including OutputGroup and CoinSelectionOpt
pub mod types;
/// Helper functions with tests for fee calculation, weight computation, and waste metrics
pub mod utils;