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

Add recommended_feerates optional message #2860

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Jun 6, 2024

We send to our peers an optional message that tells them the feerates we'd like to use for funding channels. This lets them know which values are acceptable to us, in case we reject their funding requests.

This is using an odd type and will be automatically ignored by existing nodes who don't support that feature.

@t-bast t-bast force-pushed the recommended-feerates-message branch 3 times, most recently from 9271c1e to 6ad4d70 Compare June 14, 2024 11:25
@t-bast t-bast force-pushed the recommended-feerates-message branch 5 times, most recently from 80c3f25 to dd0ca58 Compare June 25, 2024 07:00
@t-bast t-bast force-pushed the recommended-feerates-message branch from dd0ca58 to 243ec46 Compare June 27, 2024 15:09
@t-bast t-bast force-pushed the recommended-feerates-message branch 3 times, most recently from ffb9e0f to f8c7480 Compare July 8, 2024 09:56
@t-bast t-bast marked this pull request as ready for review July 8, 2024 14:57
@t-bast t-bast force-pushed the recommended-feerates-message branch from f8c7480 to b8da2e2 Compare July 9, 2024 15:04
@t-bast t-bast force-pushed the recommended-feerates-message branch 2 times, most recently from 484554d to a14de11 Compare July 22, 2024 09:04
@t-bast t-bast force-pushed the recommended-feerates-message branch from a14de11 to d2988f6 Compare July 31, 2024 15:10
@t-bast t-bast force-pushed the recommended-feerates-message branch 2 times, most recently from afebf96 to 9c5c29b Compare August 28, 2024 08:03
@t-bast t-bast force-pushed the recommended-feerates-message branch 5 times, most recently from fa82fce to 3c875aa Compare September 9, 2024 09:52
@t-bast t-bast force-pushed the recommended-feerates-message branch 3 times, most recently from 58b9ae8 to 1c7228b Compare September 13, 2024 14:31
We send to our peers an optional message that tells them the feerates
we'd like to use for funding channels. This lets them know which values
are acceptable to us, in case we reject their funding requests.

This is using an odd type and will be automatically ignored by existing
nodes who don't support that feature.
* type `CurrentFeerates` based on source

Feerates are highly subjective and it makes sense to type them based on
the source, to remove ambiguity. We may typically use a more "standard"
feerate source for commitment feerates, and a more "aggressive" feerate
source for funding/closing feerates.

* rename NodeParams.currentFeerates to currentBitcoinCoreFeerates
@t-bast t-bast merged commit db8290f into master Sep 24, 2024
1 check passed
@t-bast t-bast deleted the recommended-feerates-message branch September 24, 2024 14:22
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