Expand description
Replay protection and rate limiting (spec §24).
ReplayGuard: rejects duplicate msg_ids within a window (§10 replay
protection, applied outside sealed envelopes too).
RateLimiter: token bucket per source, for network transports.
Structs§
- Rate
Limiter - Token bucket:
capacitytokens, refilled atrefill_per_ms. - Replay
Guard