Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
yancyribbens committed Oct 17, 2024
1 parent 99b4d00 commit b593ba4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/branch_and_bound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ pub fn select_coins_bnb<Utxo: WeightedUtxo>(
long_term_fee_rate: FeeRate,
weighted_utxos: &[Utxo],
) -> Option<std::vec::IntoIter<&Utxo>> {

// Total_Tries in Core:
// https://github.com/bitcoin/bitcoin/blob/1d9da8da309d1dbf9aef15eb8dc43b4a2dc3d309/src/wallet/coinselection.cpp#L74
const ITERATION_LIMIT: i32 = 100_000;
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,4 +366,3 @@ mod tests {
});
}
}

3 changes: 1 addition & 2 deletions src/single_random_draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ mod tests {

use super::*;
use crate::single_random_draw::select_coins_srd;
use crate::WeightedUtxo;

use crate::tests::{assert_proptest_srd, Utxo, UtxoPool};
use crate::WeightedUtxo;

const FEE_RATE: FeeRate = FeeRate::from_sat_per_kwu(10);
const SATISFACTION_WEIGHT: Weight = Weight::from_wu(204);
Expand Down

0 comments on commit b593ba4

Please sign in to comment.