Skip to content

feat: cache Stellar hash verification results in Redis#293

Merged
mftee merged 1 commit intoCodeGirlsInc:mainfrom
JoeX17:cache-stellar-hash-verification-results-in-redis
Mar 29, 2026
Merged

feat: cache Stellar hash verification results in Redis#293
mftee merged 1 commit intoCodeGirlsInc:mainfrom
JoeX17:cache-stellar-hash-verification-results-in-redis

Conversation

@JoeX17
Copy link
Copy Markdown
Contributor

@JoeX17 JoeX17 commented Mar 28, 2026

Closes #280

  • Generates a UUID correlationId per request, attached to req
  • Logs incoming request (method, path, ip, correlationId)
  • Logs response on finish (status, duration_ms, correlationId)
  • Redacts Authorization and Cookie headers

- Cache positive (true) results permanently, negative (false) with 60s TTL
- Cache key format: stellar:verify:{hash}
- Provide ioredis client via STELLAR_REDIS token in StellarModule
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Mar 28, 2026

@JoeX17 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mftee mftee merged commit efa661e into CodeGirlsInc:main Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BE-30] Cache Stellar hash verification results in Redis

2 participants