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

fix: Parse wallet settings from actual settings #1779

Merged
merged 2 commits into from
Jan 4, 2024
Merged

Conversation

holzeis
Copy link
Contributor

@holzeis holzeis commented Jan 3, 2024

This is needed to actually prevent opening new jit channels.

Beforehand we always used the default wallet settings, which was obviously wrong. I am not a fan of the settings in general, but I left the general design as is as this will anyways get reworked significantly with the architecture revamp.
@holzeis holzeis requested review from bonomat and luckysori January 3, 2024 15:45
@holzeis holzeis self-assigned this Jan 3, 2024
We don't want to open new jit channels during our architecture revamp. We could have used the `max_allowed_tx_fee_rate_when_opening_channel` to achieve the same goal, but as this was also not working and I already had to touch the code, I figured I am adding an evaluation of the `jit_channels_enabled` which better matches our intentions than the other config.
@holzeis holzeis force-pushed the fix/wallet-settings branch from d538ee3 to 644f060 Compare January 3, 2024 21:29
Copy link
Contributor

@luckysori luckysori left a comment

Choose a reason for hiding this comment

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

LGTM.

@luckysori luckysori added this pull request to the merge queue Jan 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 4, 2024
@holzeis holzeis added this pull request to the merge queue Jan 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 4, 2024
@holzeis holzeis added this pull request to the merge queue Jan 4, 2024
Merged via the queue into main with commit f5abf16 Jan 4, 2024
9 checks passed
@holzeis holzeis deleted the fix/wallet-settings branch January 4, 2024 10:45
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