aboutsummaryrefslogtreecommitdiffstats
path: root/docker/electrs.Dockerfile
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-17 22:32:03 -0700
committerAdam Soltys <[email protected]>2026-08-17 22:32:03 -0700
commitf242dd2b9376505e354b5f270c910e1fb0a173c4 (patch)
tree1763f3b1f82ca629306420e74dad6bed4caa656f /docker/electrs.Dockerfile
parent984d2c3efeca25c37522c6fb17a9863717b44bc2 (diff)
downloadcoinos-server-f242dd2b9376505e354b5f270c910e1fb0a173c4.tar.gz
coinos-server-f242dd2b9376505e354b5f270c910e1fb0a173c4.zip
mintdemux: forward client IP for per-IP rate limiting + partner whitelist + /v1/ws proxy
Forward cf-connecting-ip (or first x-forwarded-for) upstream so the mints' per-IP rate limiter buckets by the real client instead of demux's socket IP. Partner hosts that funnel many users through one IP can be listed in whitelist.json with a pool size; their bucket key rotates across pool synthetic keys for a proportionally larger allowance. Reloaded every 60s. Also proxy /v1/ws (subscriptions) through to the new mint. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'docker/electrs.Dockerfile')
0 files changed, 0 insertions, 0 deletions