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

misc: Address some of dependabot's warning #6999

Closed
wants to merge 5 commits into from

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Jan 17, 2024

Just some drive-by fixes.

@cdecker cdecker force-pushed the 202403-py-dependency-bump branch 2 times, most recently from bfbfa4d to 205a8b2 Compare January 23, 2024 11:04
@cdecker cdecker force-pushed the 202403-py-dependency-bump branch 3 times, most recently from 10e6aec to 6c9bcaf Compare February 2, 2024 09:15
@cdecker cdecker force-pushed the 202403-py-dependency-bump branch 4 times, most recently from e6481e1 to ca7ada9 Compare February 9, 2024 13:49
The feerate security margin is a multiplicative factor applied to the
feerate of some transactions in order to guarantee that the
transaction remains publishable and has a sufficient chance of being
confirmed, that we can base some of our decisions on that.

The multiplicative factor is >=1 and was so far a constant 2. This
might have been sensible in the low-fee environment, where the fees
are expected to oscillate, and almost guaranteeing that we will
eventually have rising feerates but in high-fee environments that is
no longer the case, and the 100% margin that the multiplicator 2
brings is excessive. We therefore opt to start out with 100%, then
linearly interpolate up to a given maxfeerate (which does not have to
be a real feerate ever reached, it just indicates the feerate after
which we apply the constant 10% margin.

Fixes #6974
Closes #6976
@cdecker cdecker force-pushed the 202403-py-dependency-bump branch from ca7ada9 to 9417e4d Compare February 11, 2024 10:22
@cdecker cdecker closed this Feb 12, 2024
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