Skip to content

Commit 3065544

Browse files
committed
wip
1 parent a965f69 commit 3065544

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/branch_and_bound.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ pub fn select_coins_bnb<'a>(
206206

207207
let upper_bound = (target + cost_of_change).ok().ok_or(Overflow(Addition))?;
208208

209+
for u in &weighted_utxos {
210+
println!("value {} weight {} waste {}", u.value(), u.weight(), u.waste());
211+
}
212+
209213
while iteration < ITERATION_LIMIT {
210214
let mut shift = false;
211215
let mut cut = false;

0 commit comments

Comments
 (0)