Make the fee limit the sum of base + percentage

This commit is contained in:
Anders Magnusson 2022-11-19 16:57:36 +01:00
parent e0c19f38a0
commit 6ab7468c25
No known key found for this signature in database
GPG key ID: 13F914B79EB2CCF7
2 changed files with 3 additions and 7 deletions

View file

@ -43,10 +43,9 @@ Environment="LN_PORT=10009"
Environment="LN_TLS_FILE=/home/ubuntu/boltcard/tls.cert"
Environment="LN_MACAROON_FILE=/home/ubuntu/boltcard/SendPaymentV2.macaroon"
# The maximum lightning network fee to be paid in percent of the payment amount.
# The maximum lightning network fee to be paid is the base FEE_LIMIT_SAT + the FEE_LIMIT_PERCENT of the amount.
Environment="FEE_LIMIT_SAT=5"
Environment="FEE_LIMIT_PERCENT=0.5"
# Acceptable flat fee in sats that can exceed the percentage limit.
Environment="FEE_LIMIT_SAT=10"
# email
# Environment="AWS_SES_ID="