Bitshala-Incubator / rust-coinselect

A blockchain-agnostic coinselection library built in rust.
MIT License
9 stars 17 forks source link

implementation of branch and bound Issue#1 #26

Closed PavitraAgarwal21 closed 4 months ago

PavitraAgarwal21 commented 5 months ago

implementation of bnb Issue1 , Mutable reference of selected_coin is passed from &[usize] -> &mut Vec<usize> , changing the return type of private function bnb() ->Option<Vec<usize>>, adding exact match test .

delcin-raj commented 5 months ago

Also make sure to run cargo fmt before pushing the code.