package
1.11.10
Repository: https://github.com/luxfi/node.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
EstimateCount estimates the number of additions a bloom filter with [numHashes] and [numEntries] must have to reach [falsePositiveProbability].
No description provided by the author
No description provided by the author
New creates a new Filter with the specified number of hashes and bytes for entries.
No description provided by the author
No description provided by the author
OptimalEntries calculates the optimal number of entries to use when creating a new Bloom filter when targenting a size of [count] with [falsePositiveProbability] assuming that the optimal number of hashes is used.
OptimalHashes calculates the number of hashes which will minimize the false positive probability of a bloom filter with [numEntries] after [count] additions.
OptimalParameters calculates the optimal [numHashes] and [numEntries] that should be allocated for a bloom filter which will contain [count] and target [falsePositiveProbability].
Parse [bytes] into a read-only bloom filter.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Metrics is a collection of commonly useful metrics when using a long-lived bloom filter.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author