Skip to content

True sliding-window rate limiting #16

Description

@Alhaji-naira

Summary

Add an optional sliding-window mode that expires individual spends continuously rather than resetting in one step. Design the storage carefully (bounded size, predictable gas) and document the trade-offs vs the fixed window.

Acceptance criteria

  • New mode selectable per policy
  • Storage is bounded
  • Tests cover boundary bursts
  • docs/policy-model.md updated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions