Skip to content

Comments

feat: Add pluggable rate limiter for anchor requests (#69)#76

Merged
Haroldwonder merged 1 commit intoHaroldwonder:mainfrom
XOUL-LABS:feature/rate-limiter-issue-69
Feb 23, 2026
Merged

feat: Add pluggable rate limiter for anchor requests (#69)#76
Haroldwonder merged 1 commit intoHaroldwonder:mainfrom
XOUL-LABS:feature/rate-limiter-issue-69

Conversation

@XOUL-LABS
Copy link
Contributor

Add Rate Limiter (#69)

Per-anchor rate limiting with fixed window & token bucket strategies.

API:

  • configure_rate_limit(anchor, config) - admin only
  • get_rate_limit_config(anchor)

Auto-enforced on: submit_quote()

Closes #69

- Implement fixed window and token bucket strategies
- Add per-anchor rate limit configuration
- Integrate rate limiting into submit_quote method
- Add comprehensive tests and documentation
- Add RateLimitExceeded error code (48)

Closes Haroldwonder#69
@Haroldwonder Haroldwonder merged commit 63a1d0f into Haroldwonder:main Feb 23, 2026
1 of 21 checks passed
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.

Add Pluggable Rate-Limiter for Anchor Requests

2 participants