You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Issue #326: Changed getPoolAvailableBalance to throw error instead of returning Infinity on RPC failure
This prevents bypassing liquidity validation when Stellar RPC is down
- Issue #327: Migrated OperatorAuthGuard rate limiting from in-memory Map to Redis
Rate limit failures now persist across server restarts, making brute-force protection more effective
- Issue #328: Reduced JWT token expiry from 7 days to 1 hour
Shorter token lifetime reduces the window of unauthorized access if a token is compromised
- Issue #329: Updated startup validation to require at least one of ORACLE_OPERATOR_API_KEY or ADMIN_API_KEY
Previously only ORACLE_OPERATOR_API_KEY was validated, but the guard falls back to ADMIN_API_KEY
Additional changes:
- Created RedisModule as a global module for Redis client injection
- Updated OperatorAuthGuard.canActivate to be async to support Redis operations
Co-authored-by: presidojay1 <305481097+boluwacodes@users.noreply.github.com>
0 commit comments