Skip to content

feat: randomize mandatory fee config values#66

Merged
dergigi merged 1 commit intomasterfrom
randomized-max-fee-settings
Oct 6, 2022
Merged

feat: randomize mandatory fee config values#66
dergigi merged 1 commit intomasterfrom
randomized-max-fee-settings

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