Expand description
InboundDedup - sliding-window seen-message tracker per
ENGINE.md §10.4.
Recv-flavoured wire ops consult this set to discard envelopes that repeat a recently-seen message hash. Storage is bounded - when the window fills, the oldest entry is evicted.
lands a simple LRU-by-insertion-order implementation;
Structs§
- Inbound
Dedup - Sliding-window seen-message tracker.
Constants§
- DEFAULT_
WINDOW_ SIZE - Default rolling window (8192 distinct message hashes). Picked to be roughly 2× the default ingress capacity so duplicates from concurrent peers don’t collide with recent legit traffic.