Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosen LowestFee metric bound #30

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

jp1ac4
Copy link
Contributor

@jp1ac4 jp1ac4 commented Nov 6, 2024

The change in #29 led to the LowestFee metric lower bound being too tight, as found in the CI failure:
https://github.com/bitcoindevkit/coin-select/actions/runs/11584669281/job/32252247886

This PR tries to loosen the bound by assuming that no rounding up will be required when converting from weight units to vbytes, which would be the best-case scenario.

In order to get the lowest possible score, assume that no rounding
up will be required when converting from weight units to vbytes.
@jp1ac4
Copy link
Contributor Author

jp1ac4 commented Jan 28, 2025

Hi @LLFourn, would it be possible to release a new crate version with the changes from #29 and possibly this PR? Thank you.

@LLFourn
Copy link
Collaborator

LLFourn commented Jan 29, 2025

tACK af1333b

@LLFourn LLFourn merged commit 4c8dc9b into bitcoindevkit:master Jan 29, 2025
5 checks passed
@jp1ac4 jp1ac4 deleted the fix-lowestfee-bound branch January 29, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants