Skip to content

Use FeeRate::BROADCAST_MIN for minfeerate defaults#493

Merged
DanGould merged 1 commit intopayjoin:masterfrom
DanGould:min-feerate-broadcast
Jan 20, 2025
Merged

Use FeeRate::BROADCAST_MIN for minfeerate defaults#493
DanGould merged 1 commit intopayjoin:masterfrom
DanGould:min-feerate-broadcast

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

@arminsabouri arminsabouri left a comment

Choose a reason for hiding this comment

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

utACK

@DanGould DanGould merged commit 03fce9e into payjoin:master Jan 20, 2025
6 checks passed
@DanGould DanGould deleted the min-feerate-broadcast branch January 20, 2025 02:46
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