mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-02-04 00:04:20 +01:00
Mint: Add slowapi (#481)
* Add slowapi * fix startup * adjust settings * add rate limits to tx routes * elastic
This commit is contained in:
17
.env.example
17
.env.example
@@ -86,10 +86,19 @@ LIGHTNING_FEE_PERCENT=1.0
|
||||
# minimum fee to reserve
|
||||
LIGHTNING_RESERVE_FEE_MIN=2000
|
||||
|
||||
# Management
|
||||
# max peg-in amount in satoshis
|
||||
# Limits
|
||||
|
||||
# Max peg-in amount in satoshis
|
||||
# MINT_MAX_PEG_IN=100000
|
||||
# max peg-out amount in satoshis
|
||||
# Max peg-out amount in satoshis
|
||||
# MINT_MAX_PEG_OUT=100000
|
||||
# use to allow only peg-out to LN
|
||||
# Use to allow only peg-out to LN
|
||||
# MINT_PEG_OUT_ONLY=FALSE
|
||||
|
||||
# Rate limit requests to mint. Make sure that you can see request IPs in the logs.
|
||||
# You may need to adjust your reverse proxy if you only see requests originating from 127.0.0.1
|
||||
# MINT_RATE_LIMIT=TRUE
|
||||
# Determines the number of all requests allowed per minute per IP
|
||||
# MINT_GLOBAL_RATE_LIMIT_PER_MINUTE=60
|
||||
# Determines the number of transactions (mint, melt, swap) allowed per minute per IP
|
||||
# MINT_TRANSACTION_RATE_LIMIT_PER_MINUTE=20
|
||||
|
||||
Reference in New Issue
Block a user