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

feat: randomize mandatory fee config values #66

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

theborakompanioni
Copy link
Collaborator

Resolves #65.

Randomizes max_cj_fee_abs and max_cj_fee_rel if not provided.

  • max_cj_fee_abs between 5k - 10k sats
  • max_cj_fee_rel to 0.01%, 0.02% or 0.03%

Approach is taken from RaspiBlitz PR for Jam: https://github.com/rootzoll/raspiblitz/blob/fe2619a8e60d7277192e1e01231721a26d5ca705/home.admin/config.scripts/bonus.jam.sh#L218-L220
Special thanks to @openoms!

Copy link

@openoms openoms left a comment

Choose a reason for hiding this comment

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

utACK

In view of the Telegram conversation around here: https://t.me/JoinMarketWebUI/4554 I still think this approach makes the most sense.

Copy link
Contributor

@dergigi dergigi left a comment

Choose a reason for hiding this comment

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

ACK ✅

Tested joinmarket-webui/jam#533 thoroughly and ran a diff on the changes in this PR to make sure there is no typo when compared to the regtest changes.

Looks good, let's merge this 🚀

@dergigi dergigi merged commit 983d9dc into master Oct 6, 2022
@dergigi dergigi deleted the randomized-max-fee-settings branch October 6, 2022 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: randomize mandatory fee config values
3 participants