Expand description
Bloom filter compatibility exports.
Runtime-agnostic bloom logic lives under proto::bloom; this module keeps
the existing public crate::bloom path stable.
Structs§
- Bloom
Filter - A Bloom filter for probabilistic set membership.
- Bloom
State - State for managing Bloom filter announcements.
Enums§
- Bloom
Error - Errors related to Bloom filter operations.
Constants§
- DEFAULT_
FILTER_ SIZE_ BITS - Default filter size in bits (1KB = 8,192 bits).
- DEFAULT_
FILTER_ SIZE_ BYTES - Default filter size in bytes (1KB).
- DEFAULT_
HASH_ COUNT - Default number of hash functions.
- SIZE_
CLASS_ BYTES - Filter sizes by size_class: bytes = 512 << size_class
- V1_
SIZE_ CLASS - Size class for v1 protocol (1 KB filters).