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

Use FeeRate::BROADCAST_MIN for minfeerate defaults #493

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

Conversation

DanGould
Copy link
Contributor

Relay policy's BROADCAST_MIN is far more usual than FeeRate::MIN (ZERO) when it comes to thinking of minnimum feerates to paramaterize.

This is only a default. If some implementation wants to use a lower fee rate they still may.

Close #489

@DanGould DanGould requested a review from 0xBEEFCAF3 January 19, 2025 00:57
@DanGould DanGould force-pushed the min-feerate-broadcast branch 2 times, most recently from 540bcef to 11e477c Compare January 19, 2025 00:59
Relay policy's BROADCAST_MIN is far more usual than FeeRate::MIN (ZERO)
when it comes to thinking of minnimum feerates to paramaterize.

Use the default in payjoin-cli since it is a reference implementation.

This is only a default. If some implementation wants to use a lower fee
rate they still may.

Close payjoin#489
@coveralls
Copy link
Collaborator

coveralls commented Jan 19, 2025

Pull Request Test Coverage Report for Build 12848937429

Details

  • 2 of 4 (50.0%) changed or added relevant lines in 4 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 60.394%

Changes Missing Coverage Covered Lines Changed/Added Lines %
payjoin-cli/src/app/v1.rs 0 1 0.0%
payjoin-cli/src/app/v2.rs 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
payjoin/src/send/mod.rs 2 93.98%
Totals Coverage Status
Change from base Build 12832868611: -0.04%
Covered Lines: 2940
Relevant Lines: 4868

💛 - Coveralls

Copy link
Collaborator

@nothingmuch nothingmuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link
Collaborator

@0xBEEFCAF3 0xBEEFCAF3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

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.

Should default min_feerate be 0?
4 participants