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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.
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.

1 participant