File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Unreleased
1+ # 0.4.0
2+
3+ - Use ` u64 ` for weights instead of u32
4+ - Fix feerate not being rounded up to vbytes #29
5+ - Fix ` new_tr_keyspend ` weight
6+
7+ # 0.3.0
28
39- Remove ` is_target_met_with_change_policy ` : it was redundant. If the target is met without a change policy it will always be met with it.
410- Remove ` min_fee ` in favour of ` replace ` which allows you to replace a transaction
Original file line number Diff line number Diff line change 11[package ]
22name = " bdk_coin_select"
3- version = " 0.3 .0"
3+ version = " 0.4 .0"
44edition = " 2018"
55# rust-version = "1.54"
66homepage = " https://bitcoindevkit.org"
Original file line number Diff line number Diff line change @@ -162,17 +162,19 @@ match coin_selector.run_bnb(metric, 100_000) {
162162 }
163163 Ok (score ) => {
164164 println! (" we found a solution with score {}" , score );
165-
166- let selection = coin_selector
167- . apply_selection (& candidates )
168- . collect :: <Vec <_ >>();
169- let change = coin_selector . drain (target , change_policy );
170-
171- println! (" we selected {} inputs" , selection . len ());
172- println! (" We are including a change output of {} value (0 means not change)" , change . value);
173165 }
174166};
175167
168+
169+ let selection = coin_selector
170+ . apply_selection (& candidates )
171+ . collect :: <Vec <_ >>();
172+ let change = coin_selector . drain (target , change_policy );
173+
174+ println! (" we selected {} inputs" , selection . len ());
175+ println! (" We are including a change output of {} value (0 means not change)" , change . value);
176+
177+
176178```
177179
178180# Minimum Supported Rust Version (MSRV)
You can’t perform that action at this time.
0 commit comments